Remove ambiguity in string compare.

This commit is contained in:
James Woodcock
2012-08-09 13:55:54 -06:00
committed by Jon Trulson
parent f646b8b1a1
commit d1848610a7
+1 -1
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++;