summaryrefslogtreecommitdiff
path: root/audio/praat/files/patch-sys_melder__alloc.cpp
blob: e68e90b9a5501c51960fe3551ce28f16e3126261 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- sys/melder_alloc.cpp.orig	2015-01-30 17:35:26 UTC
+++ sys/melder_alloc.cpp
@@ -317,8 +317,8 @@ int Melder_strcmp (const char *string1, 
 }
 
 int Melder_str32cmp (const char32 *string1, const char32 *string2) {
-	if (string1 == NULL) string1 = U"";
-	if (string2 == NULL) string2 = U"";
+	if (string1 == NULL) string1 = (char32 *)"";
+	if (string2 == NULL) string2 = (char32 *)"";
 	return str32cmp (string1, string2);
 }