]> git.sur5r.net Git - openocd/commitdiff
- at91sam7.c remove build warnings
authorntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 29 Sep 2008 08:45:52 +0000 (08:45 +0000)
committerntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 29 Sep 2008 08:45:52 +0000 (08:45 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1010 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/flash/at91sam7.c

index 44bedd96dbeee068f71780cd4f623405e17c2373..69b89c0bdf48f03092b4ec0e9325a9d33a37bbf1 100644 (file)
@@ -1091,7 +1091,7 @@ int at91sam7_info(struct flash_bank_s *bank, char *buf, int buf_size)
        buf_size -= printed;
 
        printed = snprintf(buf, buf_size,
-               " Master clock (estimated): %li KHz | External clock: %li KHz\n",
+               " Master clock (estimated): %u KHz | External clock: %u KHz\n",
                at91sam7_info->mck_freq / 1000, at91sam7_info->ext_freq / 1000);
 
        buf += printed;