diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-02-22 10:50:59 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-02-22 10:50:59 +0100 |
commit | b0d1969ca5c4bdffdf5d3a3db9da179aa4e7175c (patch) | |
tree | da204613218833185ab1df521923ffb22e7eacfd /Userland/chmod.cpp | |
parent | 75b100673fb721eda824372ddee0d7417410c00e (diff) | |
download | serenity-b0d1969ca5c4bdffdf5d3a3db9da179aa4e7175c.zip |
Userland: Fix two compiler warnings.
Diffstat (limited to 'Userland/chmod.cpp')
-rw-r--r-- | Userland/chmod.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/chmod.cpp b/Userland/chmod.cpp index 7fb32e2fee..496762226d 100644 --- a/Userland/chmod.cpp +++ b/Userland/chmod.cpp @@ -10,7 +10,7 @@ int main(int argc, char **argv) return 1; } - mode_t mode; + unsigned mode; int rc = sscanf(argv[1], "%o", &mode); if (rc != 1) { perror("sscanf"); |