diff src/cdrom/qnx/SDL_syscdrom.c @ 1482:141528317f4f

QNX changes from Mike Gorchak
author Sam Lantinga <slouken@libsdl.org>
date Wed, 08 Mar 2006 01:55:32 +0000
parents d910939febfa
children 92947e3a18db
line wrap: on
line diff
--- a/src/cdrom/qnx/SDL_syscdrom.c	Tue Mar 07 16:02:59 2006 +0000
+++ b/src/cdrom/qnx/SDL_syscdrom.c	Wed Mar 08 01:55:32 2006 +0000
@@ -170,7 +170,7 @@
     {
         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);