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-861f7616d084master
parent
fc3d29124d
commit
892287d4f4
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue