Fix some warnings

This commit is contained in:
Bart van Strien
2011-12-27 21:25:06 +01:00
parent a855a01f02
commit 864c800e10
11 changed files with 49 additions and 25 deletions
+6 -3
View File
@@ -25,6 +25,7 @@
#include <string>
#include <common/Data.h>
#include <common/StringMap.h>
#include <common/int.h>
namespace love
{
@@ -38,7 +39,7 @@ namespace filesystem
char * data;
// Size of the data.
unsigned int size;
uint64 size;
// The filename used for error purposes.
std::string filename;
@@ -55,12 +56,14 @@ namespace filesystem
DECODE_MAX_ENUM
}; // Decoder
FileData(unsigned int size, const std::string & filename);
FileData(uint64 size, const std::string & filename);
virtual ~FileData();
// Implements Data.
void * getData() const;
//TODO: Enable this
//uint64 getSize() const;
int getSize() const;
const std::string & getFilename() const;
@@ -79,4 +82,4 @@ namespace filesystem
} // filesystem
} // love
#endif // LOVE_FILESYSTEM_FILE_DATA_H
#endif // LOVE_FILESYSTEM_FILE_DATA_H