Fix compiler warning (in general, NULL is deprecated in C++ -- just use 0 instead)
svn-id: r24885
This commit is contained in:
parent
a6cb2df4c2
commit
0d1f78e4be
1 changed files with 2 additions and 2 deletions
|
@ -137,7 +137,7 @@ DetectedGameList real_ADVANCED_DETECTOR_DETECT_GAMES_FUNCTION(
|
||||||
Common::ADGameDescList descList;
|
Common::ADGameDescList descList;
|
||||||
const byte *descPtr;
|
const byte *descPtr;
|
||||||
|
|
||||||
for (descPtr = descs; *descPtr != NULL; descPtr += descItemSize)
|
for (descPtr = descs; *descPtr != 0; descPtr += descItemSize)
|
||||||
descList.push_back((const ADGameDescription *)descPtr);
|
descList.push_back((const ADGameDescription *)descPtr);
|
||||||
|
|
||||||
AdvDetector.registerGameDescriptions(descList);
|
AdvDetector.registerGameDescriptions(descList);
|
||||||
|
@ -177,7 +177,7 @@ int real_ADVANCED_DETECTOR_DETECT_INIT_GAME(
|
||||||
|
|
||||||
Common::String gameid = ConfMan.get("gameid");
|
Common::String gameid = ConfMan.get("gameid");
|
||||||
|
|
||||||
for (descPtr = descs; *descPtr != NULL; descPtr += descItemSize)
|
for (descPtr = descs; *descPtr != 0; descPtr += descItemSize)
|
||||||
descList.push_back((const ADGameDescription *)descPtr);
|
descList.push_back((const ADGameDescription *)descPtr);
|
||||||
|
|
||||||
AdvDetector.registerGameDescriptions(descList);
|
AdvDetector.registerGameDescriptions(descList);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue