diff options
Diffstat (limited to 'toxcore/state.h')
-rw-r--r-- | toxcore/state.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/state.h b/toxcore/state.h index 154478bf..2d1f62c3 100644 --- a/toxcore/state.h +++ b/toxcore/state.h | |||
@@ -39,7 +39,7 @@ uint8_t *state_write_section_header(uint8_t *data, uint16_t cookie_type, uint32_ | |||
39 | // Utilities for state data serialisation. | 39 | // Utilities for state data serialisation. |
40 | 40 | ||
41 | uint16_t lendian_to_host16(uint16_t lendian); | 41 | uint16_t lendian_to_host16(uint16_t lendian); |
42 | #define host_tolendian16(x) lendian_to_host16(x) | 42 | uint16_t host_tolendian16(uint16_t host); |
43 | 43 | ||
44 | void host_to_lendian32(uint8_t *dest, uint32_t num); | 44 | void host_to_lendian32(uint8_t *dest, uint32_t num); |
45 | void lendian_to_host32(uint32_t *dest, const uint8_t *lendian); | 45 | void lendian_to_host32(uint32_t *dest, const uint8_t *lendian); |