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
1 changed files with 1 additions and 1 deletions

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++;