Skip to content

Commit fadc615

Browse files
author
David LeBlanc
committed
Fix typo
1 parent eff6f5a commit fadc615

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unpack.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ static inline int template_callback_map(unpack_user* u, unsigned int n, msgpack_
235235

236236
o->type = MSGPACK_OBJECT_MAP;
237237
o->via.map.size = 0;
238-
size = (unsigned long long)n * sizeof(msgpack_object_kv);
238+
tmp = (unsigned long long)n * sizeof(msgpack_object_kv);
239239

240240
if (tmp & 0xffffffff00000000) {
241241
// integer overflow

0 commit comments

Comments
 (0)