(svn r15571) -Fix: incorrect use of memset

This commit is contained in:
smatz
2009-02-24 22:25:23 +00:00
parent 2860399397
commit 846044ee26
4 changed files with 4 additions and 4 deletions

View File

@@ -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 <typename T>
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));
}