Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 31d02a76c7d0c2e83e808162ddba59ae > files > 2

justmoon-0.3.3-7.fc14.src.rpm

Fix build with gcc-4.1

Lubomir Rintel <lkundrak@v3.sk>

--- justmoon-0.3.3/libmoon/MoonFeature.cpp.parenth	2008-09-05 11:44:51.000000000 +0200
+++ justmoon-0.3.3/libmoon/MoonFeature.cpp	2008-09-05 11:45:08.000000000 +0200
@@ -128,7 +128,7 @@
     // Delete the old moonFeature list:
     if (sMoonFeatureList)
         DeleteFeatures();
-    sMoonFeatureList = new (MoonFeature*)[2000];
+    sMoonFeatureList = new MoonFeature*[2000];
 
     sNumFeatures = 0;