Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files
While you can actually write to the error buffer, conceptually it's r…
  • Loading branch information
slouken committed Aug 29, 2010
1 parent 28304ee commit 9a1c2afd0082d128045e88ffb1e7822788de9104

File 2 of 2 in 9a1c2af

@@ -198,12 +198,12 @@ SDL_GetErrorMsg(char *errstr, unsigned int maxlen)

/* Available for backwards compatibility */
char *
const char *
static char errmsg[SDL_ERRBUFIZE];

return ((char *) SDL_GetErrorMsg(errmsg, SDL_ERRBUFIZE));
return SDL_GetErrorMsg(errmsg, SDL_ERRBUFIZE);


0 comments on commit 9a1c2af

Please sign in to comment.