diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-02-25 22:06:55 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-02-25 22:06:55 +0100 |
commit | 9624b54703f87a690dab7d5c59c37f53ad47594e (patch) | |
tree | 6c12fca22fea816236585e850916efd3535c37b9 /Userland/sleep.cpp | |
parent | beda4788216509fdf846e5bb6f6000b8b542ca11 (diff) | |
download | serenity-9624b54703f87a690dab7d5c59c37f53ad47594e.zip |
More moving towards using signed types.
I'm still feeling this out, but I am starting to like the general idea.
Diffstat (limited to 'Userland/sleep.cpp')
-rw-r--r-- | Userland/sleep.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/sleep.cpp b/Userland/sleep.cpp index 1a44e9b027..dba5f1874a 100644 --- a/Userland/sleep.cpp +++ b/Userland/sleep.cpp @@ -6,7 +6,7 @@ static unsigned parse_uint(const String& str, bool& ok) { unsigned value = 0; - for (size_t i = 0; i < str.length(); ++i) { + for (int i = 0; i < str.length(); ++i) { if (str[i] < '0' || str[i] > '9') { ok = false; return 0; |