Changeset 1089 for Whitix/branches/keobject/lib/vsprintf.c
- Timestamp:
- 10/05/08 00:00:10 (3 months ago)
- Files:
-
- 1 modified
-
Whitix/branches/keobject/lib/vsprintf.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Whitix/branches/keobject/lib/vsprintf.c
r1066 r1089 73 73 { 74 74 sign='-'; 75 num= -(signed long long)num;75 num= -(signed long long)num; 76 76 }else 77 77 sign=(type & PLUS) ? '+' : ((type & SPACE) ? ' ' : 0); … … 240 240 ++fmt; 241 241 } 242 243 unsigned long long num=0; 242 244 243 245 switch (*fmt) … … 329 331 flags |= SIGN; 330 332 case 'u': 331 str=number(str, end, VaArg(args,unsigned long),10,fieldWidth, 332 precision,flags); 333 num = VaArg(args, unsigned int); 334 if (flags & SIGN) 335 num = (signed int)num; 336 str=number(str, end, num, 10, fieldWidth, precision,flags); 333 337 break; 334 338 default: