summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/globals.h2
-rw-r--r--common/piece.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/common/globals.h b/common/globals.h
index 53d3d20..312251c 100644
--- a/common/globals.h
+++ b/common/globals.h
@@ -19,4 +19,4 @@ extern unsigned char ColorArray[31][4];
extern const char* colornames[LC_MAXCOLORS];
extern const char* altcolornames[LC_MAXCOLORS];
-#endif // _GLOBALS_H_ \ No newline at end of file
+#endif // _GLOBALS_H_
diff --git a/common/piece.cpp b/common/piece.cpp
index c65ded8..28bdbaf 100644
--- a/common/piece.cpp
+++ b/common/piece.cpp
@@ -320,7 +320,7 @@ bool Piece::FileLoad (File& file, char* name)
if (ch == 0)
m_pGroup = (Group*)-1;
else
- m_pGroup = (Group*)ch;
+ m_pGroup = (Group*)(unsigned long)ch;
file.ReadByte(&ch, 1);
if (ch & 0x01)