From 498bd3e01719448abca314153f38e36fe8b5043e Mon Sep 17 00:00:00 2001 From: Nerd Date: Mon, 3 Feb 2020 16:17:42 +0800 Subject: [PATCH] Fix typo in stbds_hmget_key_ts_wrapper --- stb_ds.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stb_ds.h b/stb_ds.h index 689e48d..0409c57 100644 --- a/stb_ds.h +++ b/stb_ds.h @@ -671,7 +671,7 @@ template static T * stbds_hmget_key_wrapper(T *a, size_t elemsize, void return (T*)stbds_hmget_key((void*)a, elemsize, key, keysize, mode); } template static T * stbds_hmget_key_ts_wrapper(T *a, size_t elemsize, void *key, size_t keysize, ptrdiff_t *temp, int mode) { - return (T*)stbds_hmget_key((void*)a, elemsize, key, keysize, temp, mode); + return (T*)stbds_hmget_key_ts((void*)a, elemsize, key, keysize, temp, mode); } template static T * stbds_hmput_default_wrapper(T *a, size_t elemsize) { return (T*)stbds_hmput_default((void *)a, elemsize);