diff --git a/src/RageUtil.cpp b/src/RageUtil.cpp index 51f054f1aa..6a821c45dd 100644 --- a/src/RageUtil.cpp +++ b/src/RageUtil.cpp @@ -225,11 +225,11 @@ bool IsHexVal( const RString &s ) return true; } -RString BinaryToHex( const void *pData_, int iNumBytes ) +RString BinaryToHex( const void *pData_, size_t iNumBytes ) { const unsigned char *pData = (const unsigned char *) pData_; RString s; - for( int i=0; i