src/cdrom/qnx/SDL_syscdrom.c
changeset 1482 141528317f4f
parent 1402 d910939febfa
child 1635 92947e3a18db
     1.1 --- a/src/cdrom/qnx/SDL_syscdrom.c	Tue Mar 07 16:02:59 2006 +0000
     1.2 +++ b/src/cdrom/qnx/SDL_syscdrom.c	Wed Mar 08 01:55:32 2006 +0000
     1.3 @@ -170,7 +170,7 @@
     1.4      {
     1.5          char *cdpath, *delim;
     1.6  	size_t len = SDL_strlen(SDLcdrom)+1;
     1.7 -        cdpath = SDL_stack_alloc(len);
     1.8 +        cdpath = SDL_stack_alloc(char, len);
     1.9          if (cdpath != NULL)
    1.10          {
    1.11              SDL_strlcpy(cdpath, SDLcdrom, len);