1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

Remove ambiguity in string compare.

This commit is contained in:
James Woodcock 2012-08-09 20:59:32 +01:00 committed by Jon Trulson
parent f646b8b1a1
commit d1848610a7

View file

@ -57,7 +57,7 @@ public:
int i = 0;
_Tt_string_list_cursor values_cursor(values);
while (values_cursor.next()) {
if (*values_cursor != (char*)NULL)
if (*values_cursor != (const char*)NULL)
fprintf(file, "Property Value #%d: %s\n", i, (char *)*values_cursor);
else fprintf(file, "Property Value #%d: NULL\n", i);
i++;