From 151bd467caee34732c347c65258c2ea95403b686 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 15 Sep 2003 22:13:26 +0000 Subject: [PATCH] Changed a couple of int64's back to int32. --- src/osgPlugins/txp/trpage_warchive.cpp | 2 +- src/osgPlugins/txp/trpage_write.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/osgPlugins/txp/trpage_warchive.cpp b/src/osgPlugins/txp/trpage_warchive.cpp index c7fb5a098..ada4ff140 100644 --- a/src/osgPlugins/txp/trpage_warchive.cpp +++ b/src/osgPlugins/txp/trpage_warchive.cpp @@ -677,7 +677,7 @@ bool trpgwArchive::WriteTile(unsigned int x,unsigned int y,unsigned int lod, flo return false; } - int64 pos = tileFile->Pos(); + int32 pos = static_cast(tileFile->Pos()); if (!tileFile->Append(head,buf)) return false; // Keep track of the fact that this went here diff --git a/src/osgPlugins/txp/trpage_write.h b/src/osgPlugins/txp/trpage_write.h index f6daaba9a..69af3efab 100644 --- a/src/osgPlugins/txp/trpage_write.h +++ b/src/osgPlugins/txp/trpage_write.h @@ -273,7 +273,7 @@ public: public: int x,y,lod; // Identifying info for tile float zmin,zmax; - int64 offset; // Offset into file + int32 offset; // Offset into file }; class TileFile { public: