From 67465b636fdc471c274d0558d09998e20faff151 Mon Sep 17 00:00:00 2001 From: riccardom Date: Sat, 3 Apr 2010 13:04:55 +0000 Subject: [PATCH] Fixup movie.cpp compilation. --- desmume/src/movie.cpp | 2 +- desmume/src/movie.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/desmume/src/movie.cpp b/desmume/src/movie.cpp index 6df7487db..02591433a 100644 --- a/desmume/src/movie.cpp +++ b/desmume/src/movie.cpp @@ -228,7 +228,7 @@ void MovieData::installValue(std::string& key, std::string& val) guid = Desmume_Guid::fromString(val); else if(key == "rtcStart") { // sloppy format check and parse - char *validFormatStr = "####-##-##T##:##:##Z"; + const char *validFormatStr = "####-##-##T##:##:##Z"; bool validFormat = true; for (int i = 0; validFormatStr[i] != '\0'; i++) { if (validFormatStr[i] != val[i] && diff --git a/desmume/src/movie.h b/desmume/src/movie.h index 8730b3d92..3a01027e5 100644 --- a/desmume/src/movie.h +++ b/desmume/src/movie.h @@ -129,7 +129,7 @@ public: int rerecordCount; Desmume_Guid guid; - s64 rtcStart; // (time_t) it always means gmtime, not localtime. + time_t rtcStart; // (time_t) it always means gmtime, not localtime. //was the frame data stored in binary? bool binaryFlag;