1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 10:18:15 +09:00

Userland: Fix two compiler warnings.

This commit is contained in:
Andreas Kling 2019-02-22 10:50:59 +01:00
parent 75b100673f
commit b0d1969ca5
Notes: sideshowbarker 2024-07-19 15:38:24 +09:00
2 changed files with 2 additions and 2 deletions

View file

@ -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");