diff options
author | David Robillard <d@drobilla.net> | 2019-01-07 20:33:42 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-04-13 19:48:23 +0200 |
commit | 2719fc4709d05193aa89557051af1d65a738c4d5 (patch) | |
tree | 18a11d72f789535d79f835f7ad44daa4d1b536b5 /src/n3.c | |
parent | 105cc91e8fb7bb1a70e5715dbbbf3f967d508065 (diff) | |
download | serd-2719fc4709d05193aa89557051af1d65a738c4d5.tar.gz serd-2719fc4709d05193aa89557051af1d65a738c4d5.tar.bz2 serd-2719fc4709d05193aa89557051af1d65a738c4d5.zip |
Fix integer conversion warnings
Diffstat (limited to 'src/n3.c')
-rw-r--r-- | src/n3.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -83,7 +83,7 @@ read_UCHAR(SerdReader* reader, SerdNode* dest, uint32_t* char_code) } char* endptr = NULL; - const uint32_t code = strtoul((const char*)buf, &endptr, 16); + const uint32_t code = (uint32_t)strtoul((const char*)buf, &endptr, 16); assert(endptr == (char*)buf + length); unsigned size = 0; |