about summary refs log tree commit diff
path: root/src/engine/datafile.cpp
diff options
context:
space:
mode:
authorJohan Althoff <teetow@gmail.com>2007-07-13 21:22:45 +0000
committerJohan Althoff <teetow@gmail.com>2007-07-13 21:22:45 +0000
commit519e644a6258b06ac1836b5da0a575205dd0dbea (patch)
treebc6bb21fa308adc82e707917e0824ca565c8d9d8 /src/engine/datafile.cpp
parent64d55a22ee74f06738715858d2f88988b046ead0 (diff)
downloadzcatch-519e644a6258b06ac1836b5da0a575205dd0dbea.tar.gz
zcatch-519e644a6258b06ac1836b5da0a575205dd0dbea.zip
fixed various warnings on windows
Diffstat (limited to 'src/engine/datafile.cpp')
-rw-r--r--src/engine/datafile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/datafile.cpp b/src/engine/datafile.cpp
index 789aa722..5c064819 100644
--- a/src/engine/datafile.cpp
+++ b/src/engine/datafile.cpp
@@ -68,7 +68,7 @@ datafile *datafile_load(const char *filename)
 	// TODO: change this header
 	int header[4];
 	file.read(header, sizeof(header));
-	if(((header[0]>>24)&0xff) != 'D' || ((header[0]>>16)&0xff) != 'A' || (header[0]>>8)&0xff != 'T' || (header[0]&0xff)!= 'A')
+	if(((header[0]>>24)&0xff) != 'D' || ((header[0]>>16)&0xff) != 'A' || ((header[0]>>8)&0xff) != 'T' || (header[0]&0xff) != 'A')
 	{
 		dbg_msg("datafile", "wrong signature. %x %x %x %x", header[0], header[1], header[2], header[3]);
 		return 0;