diff options
author | Max Horn | 2006-12-19 12:21:23 +0000 |
---|---|---|
committer | Max Horn | 2006-12-19 12:21:23 +0000 |
commit | 0d1f78e4beced8191ae03e84073b6297d8167a9d (patch) | |
tree | 79d6a78c766b154d70189069b2dfcef61fd8724d /common | |
parent | a6cb2df4c24de391a22f0546ae3098e8e21ed557 (diff) | |
download | scummvm-rg350-0d1f78e4beced8191ae03e84073b6297d8167a9d.tar.gz scummvm-rg350-0d1f78e4beced8191ae03e84073b6297d8167a9d.tar.bz2 scummvm-rg350-0d1f78e4beced8191ae03e84073b6297d8167a9d.zip |
Fix compiler warning (in general, NULL is deprecated in C++ -- just use 0 instead)
svn-id: r24885
Diffstat (limited to 'common')
-rw-r--r-- | common/advancedDetector.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/advancedDetector.cpp b/common/advancedDetector.cpp index 4ae7422322..3a7028cd11 100644 --- a/common/advancedDetector.cpp +++ b/common/advancedDetector.cpp @@ -137,7 +137,7 @@ DetectedGameList real_ADVANCED_DETECTOR_DETECT_GAMES_FUNCTION( Common::ADGameDescList descList; const byte *descPtr; - for (descPtr = descs; *descPtr != NULL; descPtr += descItemSize) + for (descPtr = descs; *descPtr != 0; descPtr += descItemSize) descList.push_back((const ADGameDescription *)descPtr); AdvDetector.registerGameDescriptions(descList); @@ -177,7 +177,7 @@ int real_ADVANCED_DETECTOR_DETECT_INIT_GAME( 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); AdvDetector.registerGameDescriptions(descList); |