patch-src_debug_c 795 B

1234567891011121314151617181920212223242526272829
  1. $Id$
  2. --- gsm-1.0-pl10.orig/src/debug.c Tue Jul 2 16:32:37 1996
  3. +++ gsm-1.0-pl10/src/debug.c Sat Jan 20 13:06:50 2007
  4. @@ -49,7 +49,7 @@ void gsm_debug_longwords P4( (name, from
  5. fprintf( stderr, "%s [%d .. %d]: ", name, from, to );
  6. while (from <= to) {
  7. - fprintf(stderr, "%d ", ptr[ from ] );
  8. + fprintf(stderr, "%ld ", ptr[ from ] );
  9. from++;
  10. if (nprinted++ >= 7) {
  11. nprinted = 0;
  12. @@ -63,14 +63,14 @@ void gsm_debug_longword P2( (name, valu
  13. char * name,
  14. longword value )
  15. {
  16. - fprintf(stderr, "%s: %d\n", name, (long)value );
  17. + fprintf(stderr, "%s: %ld\n", name, (long)value );
  18. }
  19. void gsm_debug_word P2( (name, value),
  20. char * name,
  21. word value )
  22. {
  23. - fprintf(stderr, "%s: %d\n", name, (long)value);
  24. + fprintf(stderr, "%s: %ld\n", name, (long)value);
  25. }
  26. #endif