summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-12-27 14:16:12 -0500
committerDavid Robillard <d@drobilla.net>2018-12-27 14:16:12 -0500
commitedf1a117c28a799f5f2f276da673e84a6d941b6d (patch)
tree55b8022e1792119de855f2ce4c4d14220691ed68 /src
parent696827c1c4420eb0ac474444da71e178b34d1516 (diff)
downloadsratom-edf1a117c28a799f5f2f276da673e84a6d941b6d.tar.gz
sratom-edf1a117c28a799f5f2f276da673e84a6d941b6d.tar.bz2
sratom-edf1a117c28a799f5f2f276da673e84a6d941b6d.zip
Remove redundant cast
Diffstat (limited to 'src')
-rw-r--r--src/sratom.c2
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) {