[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdeaccessibility/kttsd/players/alsaplayer
From:       Gary Cramblitt <garycramblitt () comcast ! net>
Date:       2005-07-07 0:26:51
Message-ID: 1120696011.529641.2455.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 432330 by cramblitt:

Fix compile.  Thanks to Bongani Hlope.

 M  +1 -1      alsaplayer.cpp  


--- trunk/KDE/kdeaccessibility/kttsd/players/alsaplayer/alsaplayer.cpp #432329:432330
@@ -501,7 +501,7 @@
 #define check_wavefile_space(buffer, len, blimit) \
 	if (len > blimit) { \
 		blimit = len; \
-		if (((void*)buffer = realloc(buffer, blimit)) == NULL) { \
+		if ((buffer = (char*)realloc(buffer, blimit)) == NULL) { \
 			error("not enough memory"); \
 			stopAndExit(); \
 		} \
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic