From d1848610a7a786a499e7837da64cc00709c42671 Mon Sep 17 00:00:00 2001 From: James Woodcock Date: Thu, 9 Aug 2012 20:59:32 +0100 Subject: [PATCH] Remove ambiguity in string compare. --- cde/lib/tt/lib/db/tt_db_property.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cde/lib/tt/lib/db/tt_db_property.h b/cde/lib/tt/lib/db/tt_db_property.h index 76062e13..80e145f6 100644 --- a/cde/lib/tt/lib/db/tt_db_property.h +++ b/cde/lib/tt/lib/db/tt_db_property.h @@ -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++; -- 2.25.1