From 846044ee26f68875e8146fe2b00a45071bc66644 Mon Sep 17 00:00:00 2001 From: smatz Date: Tue, 24 Feb 2009 22:25:23 +0000 Subject: (svn r15571) -Fix: incorrect use of memset --- src/core/mem_func.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/mem_func.hpp') diff --git a/src/core/mem_func.hpp b/src/core/mem_func.hpp index e56ad365d..04248e947 100644 --- a/src/core/mem_func.hpp +++ b/src/core/mem_func.hpp @@ -42,7 +42,7 @@ static FORCEINLINE void MemMoveT(T *destination, const T *source, uint num = 1) * @param num number of items to be set (!not number of bytes!) */ template -static FORCEINLINE void MemSetT(T *ptr, int value, uint num = 1) +static FORCEINLINE void MemSetT(T *ptr, byte value, uint num = 1) { memset(ptr, value, num * sizeof(T)); } -- cgit v1.2.3-54-g00ecf