Changeset 42 for sources/src/serialization.cc
- Timestamp:
- Aug 24, 2009, 1:12:39 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sources/src/serialization.cc
r27 r42 98 98 } else if (bit_number <= 16) { 99 99 uint16 v = *((const uint16*)val); 100 sprintf (buf, "% d",v);100 sprintf (buf, "%u", (uint32) v); 101 101 } else if (bit_number <= 32) { 102 102 uint32 v = *((const uint32*)val); 103 sprintf (buf, "% d", v);103 sprintf (buf, "%u", v); 104 104 } else if (bit_number <= 64) { 105 105 uint64 v = *((const uint64*)val); 106 sprintf (buf, "%ll d", v);106 sprintf (buf, "%llu", v); 107 107 } 108 108 }
Note: See TracChangeset
for help on using the changeset viewer.