diff options
author | David Robillard <d@drobilla.net> | 2018-12-27 14:16:12 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-12-27 14:16:12 -0500 |
commit | edf1a117c28a799f5f2f276da673e84a6d941b6d (patch) | |
tree | 55b8022e1792119de855f2ce4c4d14220691ed68 | |
parent | 696827c1c4420eb0ac474444da71e178b34d1516 (diff) | |
download | sratom-edf1a117c28a799f5f2f276da673e84a6d941b6d.tar.gz sratom-edf1a117c28a799f5f2f276da673e84a6d941b6d.tar.bz2 sratom-edf1a117c28a799f5f2f276da673e84a6d941b6d.zip |
Remove redundant cast
-rw-r--r-- | src/sratom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sratom.c b/src/sratom.c index b797954..e101819 100644 --- a/src/sratom.c +++ b/src/sratom.c @@ -332,7 +332,7 @@ sratom_write(Sratom* sratom, uint8_t* str = (uint8_t*)calloc(size * 2 + 1, 1); for (uint32_t i = 0; i < size; ++i) { snprintf((char*)str + (2 * i), size * 2 + 1, "%02X", - (unsigned)(uint8_t)*((const uint8_t*)body + i)); + (unsigned)*((const uint8_t*)body + i)); } object = serd_node_from_string(SERD_LITERAL, USTR(str)); } else if (type_urid == sratom->atom_Event) { |