Author: des
Date: Tue Oct 11 07:46:45 2011
New Revision: 226246
URL: http://svn.freebsd.org/changeset/base/226246

Log:
  Cast to unsigned for %#jx.
  
  Noticed by:   jh@

Modified:
  head/usr.bin/kdump/kdump.c

Modified: head/usr.bin/kdump/kdump.c
==============================================================================
--- head/usr.bin/kdump/kdump.c  Tue Oct 11 05:17:45 2011        (r226245)
+++ head/usr.bin/kdump/kdump.c  Tue Oct 11 07:46:45 2011        (r226246)
@@ -114,7 +114,7 @@ struct ktr_header ktr_header;
        if (decimal)                                            \
                printf("%c%jd", c, (intmax_t)*i);               \
        else                                                    \
-               printf("%c%#jx", c, (intmax_t)*i);              \
+               printf("%c%#jx", c, (uintmax_t)*i);             \
        i++;                                                    \
        n--;                                                    \
        c = ',';                                                \
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to