GCC 4.2 compile fix (NULL is a pointer and thus shall not be "cast from pointer to integer of different size")

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1656 4a71c877-e1ca-e34f-864e-861f7616d084
master
Dennis Schridde 2007-05-19 14:47:17 +00:00
parent fc3d29124d
commit 892287d4f4
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ ANIMOBJECT { return ANIMOBJECT; }
}
/* set final quote in string to blank */
audp_lval.sval[audp_leng-2] = (char) NULL;
audp_lval.sval[audp_leng-2] = (char) '\0';
return QTEXT;
}