src/cdrom/osf/SDL_syscdrom.c
changeset 1438 1f4f09641645
parent 1402 d910939febfa
child 1635 92947e3a18db
     1.1 --- a/src/cdrom/osf/SDL_syscdrom.c	Sun Feb 26 04:48:24 2006 +0000
     1.2 +++ b/src/cdrom/osf/SDL_syscdrom.c	Sun Feb 26 04:54:01 2006 +0000
     1.3 @@ -173,7 +173,7 @@
     1.4      if ( SDLcdrom != NULL ) {
     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  	    SDL_strlcpy(cdpath, SDLcdrom, len);
    1.11  	    SDLcdrom = cdpath;