|
From: <got...@us...> - 2009-05-13 08:17:58
|
Revision: 247
http://scstudio.svn.sourceforge.net/scstudio/?rev=247&view=rev
Author: gotthardp
Date: 2009-05-13 08:17:40 +0000 (Wed, 13 May 2009)
Log Message:
-----------
Fixed compilation errors for gcc 4.3 at 64b platforms.
Modified Paths:
--------------
trunk/src/data/Z120/z120_load.cpp
trunk/tests/z120_test.cpp
Modified: trunk/src/data/Z120/z120_load.cpp
===================================================================
--- trunk/src/data/Z120/z120_load.cpp 2009-05-13 07:46:16 UTC (rev 246)
+++ trunk/src/data/Z120/z120_load.cpp 2009-05-13 08:17:40 UTC (rev 247)
@@ -25,7 +25,7 @@
{
pANTLR3_INPUT_STREAM input =
antlr3AsciiFileStreamNew((pANTLR3_UINT8)filename.c_str());
- if (input == NULL || (int)input < 0)
+ if (input == NULL || input < 0)
{
print_report(RS_ERROR,
stringize() << "Cannot open file '" << TOWSTRING(filename) << "'.");
Modified: trunk/tests/z120_test.cpp
===================================================================
--- trunk/tests/z120_test.cpp 2009-05-13 07:46:16 UTC (rev 246)
+++ trunk/tests/z120_test.cpp 2009-05-13 08:17:40 UTC (rev 247)
@@ -16,7 +16,9 @@
* $Id$
*/
+#include <string.h>
#include <iostream>
+
#include "data/Z120/z120.h"
char* extract_filename(char* filename)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|