Merge tag 'x86-asm-2024-01-08' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
[linux-2.6-microblaze.git] / arch / x86 / lib / misc.c
index 92cd8ec..40b81c3 100644 (file)
@@ -8,7 +8,7 @@
  */
 int num_digits(int val)
 {
-       int m = 10;
+       long long m = 10;
        int d = 1;
 
        if (val < 0) {