summary refs log tree commit diff
path: root/locale
diff options
context:
space:
mode:
Diffstat (limited to 'locale')
-rw-r--r--locale/lc-time.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/locale/lc-time.c b/locale/lc-time.c
index 1e76e10c76..d8fd6cfc21 100644
--- a/locale/lc-time.c
+++ b/locale/lc-time.c
@@ -121,11 +121,11 @@ _nl_init_era_entries (void)
 
 		  /* Set and skip wide era name.  */
 		  eras[cnt].era_wname = (wchar_t *) ptr;
-		  ptr = (char *) (wcschr ((wchar_t *) ptr, '\0') + 1);
+		  ptr = (char *) (wcschr ((wchar_t *) ptr, L'\0') + 1);
 
 		  /* Set and skip wide era format.  */
 		  eras[cnt].era_wformat = (wchar_t *) ptr;
-		  ptr = (char *) (wcschr ((wchar_t *) ptr, '\0') + 1);
+		  ptr = (char *) (wcschr ((wchar_t *) ptr, L'\0') + 1);
 		}
 	    }
 	}