parport: convert use of typedef ctl_table to struct ctl_table
[firefly-linux-kernel-4.4.55.git] / lib / vsprintf.c
index 0648291cdafe8d6358914c5c2fa737c31d39704d..6fe2c84eb055695ffb80e766bd2d6fda1005b315 100644 (file)
@@ -2347,7 +2347,7 @@ int vsscanf(const char *buf, const char *fmt, va_list args)
                        break;
 
                base = 10;
-               is_sign = 0;
+               is_sign = false;
 
                switch (*fmt++) {
                case 'c':
@@ -2386,7 +2386,7 @@ int vsscanf(const char *buf, const char *fmt, va_list args)
                case 'i':
                        base = 0;
                case 'd':
-                       is_sign = 1;
+                       is_sign = true;
                case 'u':
                        break;
                case '%':