[Scummvm-cvs-logs] SF.net SVN: scummvm: [25450] scummvm/trunk/engines/lure/res_struct.cpp

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Fri Feb 9 18:17:09 CET 2007


Revision: 25450
          http://scummvm.svn.sourceforge.net/scummvm/?rev=25450&view=rev
Author:   fingolfin
Date:     2007-02-09 09:17:08 -0800 (Fri, 09 Feb 2007)

Log Message:
-----------
fix warning

Modified Paths:
--------------
    scummvm/trunk/engines/lure/res_struct.cpp

Modified: scummvm/trunk/engines/lure/res_struct.cpp
===================================================================
--- scummvm/trunk/engines/lure/res_struct.cpp	2007-02-09 16:49:02 UTC (rev 25449)
+++ scummvm/trunk/engines/lure/res_struct.cpp	2007-02-09 17:17:08 UTC (rev 25450)
@@ -708,7 +708,7 @@
 }
 
 uint16 CharacterScheduleEntry::id() {
-	return (_parent == NULL) ? NULL : _parent->getId(this);
+	return (_parent == NULL) ? 0 : _parent->getId(this);
 }
 
 CharacterScheduleSet::CharacterScheduleSet(CharacterScheduleResource *rec, uint16 setId) {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list