summaryrefslogtreecommitdiff
path: root/Userland/chmod.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-02-22 10:50:59 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-02-22 10:50:59 +0100
commitb0d1969ca5c4bdffdf5d3a3db9da179aa4e7175c (patch)
treeda204613218833185ab1df521923ffb22e7eacfd /Userland/chmod.cpp
parent75b100673fb721eda824372ddee0d7417410c00e (diff)
downloadserenity-b0d1969ca5c4bdffdf5d3a3db9da179aa4e7175c.zip
Userland: Fix two compiler warnings.
Diffstat (limited to 'Userland/chmod.cpp')
-rw-r--r--Userland/chmod.cpp2
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");