Staging: me4000: remove some compiler warnings
authorGreg Kroah-Hartman <gregkh@suse.de>
Tue, 21 Oct 2008 20:44:25 +0000 (15:44 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 22 Oct 2008 16:56:40 +0000 (09:56 -0700)
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/me4000/me4000.c

index 75c268c3730809180c2a45d5b8cce621dc068ee6..0b33773bb4f68412d5d44f3b99fed07fb1ab2041 100644 (file)
@@ -6017,14 +6017,14 @@ static int me4000_read_procmem(char *buf, char **start, off_t offset, int count,
                    sprintf(buf + len, "PLX base register = 0x%lX\n",
                            board_info->plx_regbase);
                len +=
-                   sprintf(buf + len, "PLX base register size = 0x%lX\n",
-                           board_info->plx_regbase_size);
+                   sprintf(buf + len, "PLX base register size = 0x%X\n",
+                           (unsigned int)board_info->plx_regbase_size);
                len +=
-                   sprintf(buf + len, "ME4000 base register = 0x%lX\n",
-                           board_info->me4000_regbase);
+                   sprintf(buf + len, "ME4000 base register = 0x%X\n",
+                           (unsigned int)board_info->me4000_regbase);
                len +=
-                   sprintf(buf + len, "ME4000 base register size = 0x%lX\n",
-                           board_info->me4000_regbase_size);
+                   sprintf(buf + len, "ME4000 base register size = 0x%X\n",
+                           (unsigned int)board_info->me4000_regbase_size);
                len +=
                    sprintf(buf + len, "Serial number = 0x%X\n",
                            board_info->serial_no);