svn rev #21910: trunk/src/lib/krb5/unicode/ure/
ghudson@MIT.EDU
ghudson at MIT.EDU
Fri Feb 6 14:18:21 EST 2009
http://src.mit.edu/fisheye/changelog/krb5/?cs=21910
Commit By: ghudson
Log Message:
Pass the correct width argument to fprintf for URE_CHAR in
ure_write_dfa.
Changed Files:
U trunk/src/lib/krb5/unicode/ure/ure.c
Modified: trunk/src/lib/krb5/unicode/ure/ure.c
===================================================================
--- trunk/src/lib/krb5/unicode/ure/ure.c 2009-02-06 18:40:04 UTC (rev 21909)
+++ trunk/src/lib/krb5/unicode/ure/ure.c 2009-02-06 19:18:20 UTC (rev 21910)
@@ -1918,7 +1918,8 @@
l = (ucs2_t) (((sym->sym.chr - 0x10000) & 1023) + 0xdc00);
fprintf(out, "\\x%04hX\\x%04hX ", h, l);
} else
- fprintf(out, "\\x%04lX ", sym->sym.chr & 0xffff);
+ fprintf(out, "\\x%04lX ",
+ (unsigned long)(sym->sym.chr & 0xffff));
break;
case _URE_ANY_CHAR:
fprintf(out, "<any> ");
More information about the cvs-krb5
mailing list