diff options
Diffstat (limited to 'src/utils.c')
-rw-r--r-- | src/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils.c b/src/utils.c index 4cba896..0485216 100644 --- a/src/utils.c +++ b/src/utils.c @@ -116,7 +116,7 @@ xfwrite(const void *ptr, size_t size, FILE *stream) } } -/* Writes an int to a file, using len bytes, in bigendian order */ +/* Writes an int to a file, using len bytes, in little-endian order */ void write_int(uint64_t value, size_t len, FILE *to) { @@ -142,7 +142,7 @@ write_string(const char *string, FILE *to) xfwrite(string, strlen(string) + 1, to); } -/* Reads an int from a file, using len bytes, in bigendian order */ +/* Reads an int from a file, using len bytes, in little-endian order */ uint64_t read_int(char **from, size_t len, const char *max) { |