diff options
Diffstat (limited to 'OpenAL32/alError.c')
-rw-r--r-- | OpenAL32/alError.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/alError.c b/OpenAL32/alError.c index fe0e02be..e3909742 100644 --- a/OpenAL32/alError.c +++ b/OpenAL32/alError.c @@ -48,14 +48,14 @@ void alSetError(ALCcontext *context, ALenum errorCode, const char *msg, ...) if(msglen < 0 || (size_t)msglen >= sizeof(message)) { message[sizeof(message)-1] = 0; - msglen = strlen(message); + msglen = (int)strlen(message); } if(msglen > 0) msg = message; else { msg = "<internal error constructing message>"; - msglen = strlen(msg); + msglen = (int)strlen(msg); } WARN("Error generated on context %p, code 0x%04x, \"%s\"\n", |