Changeset 2405 for libcaca/trunk/tools/makefont.c
- Timestamp:
- Jun 15, 2008, 3:49:57 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/tools/makefont.c
r2398 r2405 437 437 static int printf_u32(char const *fmt, uint32_t i) 438 438 { 439 uint32_t ni = hton 32(i);439 uint32_t ni = htonl(i); 440 440 return printf_hex(fmt, (uint8_t *)&ni, 4); 441 441 } … … 443 443 static int printf_u16(char const *fmt, uint16_t i) 444 444 { 445 uint16_t ni = hton 16(i);445 uint16_t ni = htons(i); 446 446 return printf_hex(fmt, (uint8_t *)&ni, 2); 447 447 }
Note: See TracChangeset
for help on using the changeset viewer.