src/cdrom/osf/SDL_syscdrom.c
changeset 1438 1f4f09641645
parent 1402 d910939febfa
child 1635 92947e3a18db
--- a/src/cdrom/osf/SDL_syscdrom.c	Sun Feb 26 04:48:24 2006 +0000
+++ b/src/cdrom/osf/SDL_syscdrom.c	Sun Feb 26 04:54:01 2006 +0000
@@ -173,7 +173,7 @@
     if ( SDLcdrom != NULL ) {
 	char *cdpath, *delim;
 	size_t len = SDL_strlen(SDLcdrom)+1;
-	cdpath = SDL_stack_alloc(len);
+	cdpath = SDL_stack_alloc(char, len);
 	if ( cdpath != NULL ) {
 	    SDL_strlcpy(cdpath, SDLcdrom, len);
 	    SDLcdrom = cdpath;