summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/polypcore/tagstruct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/polypcore/tagstruct.c b/src/polypcore/tagstruct.c
index 3035626b..761f6d3d 100644
--- a/src/polypcore/tagstruct.c
+++ b/src/polypcore/tagstruct.c
@@ -413,7 +413,7 @@ int pa_tagstruct_getu64(pa_tagstruct*t, uint64_t *u) {
memcpy(&tmp, t->data+t->rindex+1, 4);
*u = (uint64_t) ntohl(tmp) << 32;
memcpy(&tmp, t->data+t->rindex+5, 4);
- *u |= (uin64_t) ntohl(tmp);
+ *u |= (uint64_t) ntohl(tmp);
t->rindex +=9;
return 0;
}