From 30348b561af37db122c733862389e3149de33989 Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Fri, 7 Feb 2020 20:45:58 -0800 Subject: [PATCH] Fix MSVC /W4 warning Conversion from size_t to unsigned int is lossy. --- fast_obj.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fast_obj.h b/fast_obj.h index fd2df41..31434be 100644 --- a/fast_obj.h +++ b/fast_obj.h @@ -203,7 +203,7 @@ double POWER_10_NEG[MAX_POWER] = }; -static void* memory_realloc(void* ptr, fastObjUInt bytes) +static void* memory_realloc(void* ptr, size_t bytes) { return FAST_OBJ_REALLOC(ptr, bytes); }