diff options
Diffstat (limited to 'package/gsm/patches/patch-src_debug_c')
-rw-r--r-- | package/gsm/patches/patch-src_debug_c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/package/gsm/patches/patch-src_debug_c b/package/gsm/patches/patch-src_debug_c new file mode 100644 index 000000000..74335b938 --- /dev/null +++ b/package/gsm/patches/patch-src_debug_c @@ -0,0 +1,29 @@ +$Id$ +--- gsm-1.0-pl10.orig/src/debug.c Tue Jul 2 16:32:37 1996 ++++ gsm-1.0-pl10/src/debug.c Sat Jan 20 13:06:50 2007 +@@ -49,7 +49,7 @@ void gsm_debug_longwords P4( (name, from + fprintf( stderr, "%s [%d .. %d]: ", name, from, to ); + while (from <= to) { + +- fprintf(stderr, "%d ", ptr[ from ] ); ++ fprintf(stderr, "%ld ", ptr[ from ] ); + from++; + if (nprinted++ >= 7) { + nprinted = 0; +@@ -63,14 +63,14 @@ void gsm_debug_longword P2( (name, valu + char * name, + longword value ) + { +- fprintf(stderr, "%s: %d\n", name, (long)value ); ++ fprintf(stderr, "%s: %ld\n", name, (long)value ); + } + + void gsm_debug_word P2( (name, value), + char * name, + word value ) + { +- fprintf(stderr, "%s: %d\n", name, (long)value); ++ fprintf(stderr, "%s: %ld\n", name, (long)value); + } + + #endif |