From: <Mee...@us...> - 2011-10-01 14:15:42
|
Revision: 3696 http://sc2.svn.sourceforge.net/sc2/?rev=3696&view=rev Author: Meep-Eep Date: 2011-10-01 14:15:35 +0000 (Sat, 01 Oct 2011) Log Message: ----------- Fixed unconst() types. Modified Paths: -------------- trunk/sc2/ChangeLog trunk/sc2/src/libs/misc.h trunk/sc2/src/libs/uio/uioutils.h Modified: trunk/sc2/ChangeLog =================================================================== --- trunk/sc2/ChangeLog 2011-09-09 21:36:34 UTC (rev 3695) +++ trunk/sc2/ChangeLog 2011-10-01 14:15:35 UTC (rev 3696) @@ -1,4 +1,5 @@ Changes towards version 0.8: +- Fixed unconst(), from Scott A. Colcord - Fixes to a few small bugs in UIO which shouldn't have had an impact on UQM, but would in the future, from Alex - Allow F6 as a default alternate search key, from related projects. Modified: trunk/sc2/src/libs/misc.h =================================================================== --- trunk/sc2/src/libs/misc.h 2011-09-09 21:36:34 UTC (rev 3695) +++ trunk/sc2/src/libs/misc.h 2011-10-01 14:15:35 UTC (rev 3696) @@ -51,8 +51,8 @@ static inline void * unconst(const void *arg) { union { - char *c; - const char *cc; + void *c; + const void *cc; } u; u.cc = arg; return u.c; Modified: trunk/sc2/src/libs/uio/uioutils.h =================================================================== --- trunk/sc2/src/libs/uio/uioutils.h 2011-09-09 21:36:34 UTC (rev 3695) +++ trunk/sc2/src/libs/uio/uioutils.h 2011-10-01 14:15:35 UTC (rev 3696) @@ -44,8 +44,8 @@ static inline void * unconst(const void *arg) { union { - char *c; - const char *cc; + void *c; + const void *cc; } u; u.cc = arg; return u.c; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |