Permalink
Browse files

Correct printf format to remove compiler warning

  • Loading branch information...
1 parent 063e402 commit 85000e974c0add9830e186db574f4ed638fbe6da @nbrown nbrown committed May 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/m0/c/m0_debugger.c
View
@@ -527,7 +527,7 @@ debug_list_breakpoints(char * arg, M0_Debugger_Info* db_info)
UNUSED(arg);
printf("There are %d breakpoint(s)\n", n_bp);
for( ; i < n_bp; i++)
- printf("Breakpoint #%d:\tPC=%d\n", i, db_info->breakpoints[i]);
+ printf("Breakpoint #%u:\tPC=%lu\n", i, db_info->breakpoints[i]);
}
static void

0 comments on commit 85000e9

Please sign in to comment.