Ditch longs and long longs in favor of stdint.h types, which has cascading
effects throughout, including use of inttypes.h/PRI[ud]64 because printf() is still stuck in a long world, conversion of %lu to %zu for printing values of type size_t, and changing/renaming the g_check_cmp* family of functions.
This commit is contained in:
parent
f0a24ee4d0
commit
c8fc061ea6
15 changed files with 64 additions and 52 deletions
|
|
@ -91,7 +91,7 @@ typedef struct HParsedToken_ {
|
|||
*/
|
||||
typedef struct HParseResult_ {
|
||||
const HParsedToken *ast;
|
||||
long long bit_length;
|
||||
int64_t bit_length;
|
||||
HArena * arena;
|
||||
} HParseResult;
|
||||
|
||||
|
|
@ -589,7 +589,7 @@ HBitWriter *h_bit_writer_new(HAllocator* mm__);
|
|||
/**
|
||||
* TODO: Document me
|
||||
*/
|
||||
void h_bit_writer_put(HBitWriter* w, unsigned long long data, size_t nbits);
|
||||
void h_bit_writer_put(HBitWriter* w, uint64_t data, size_t nbits);
|
||||
|
||||
/**
|
||||
* TODO: Document me
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue