From c3f5d990652aec4b4f1f23a5e1c7b644cd46cbe7 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 23 Sep 2010 18:48:25 +0200 Subject: s3:registry: try to fix the build of reg_parse_internal on HP-UX The HP compiler does not seem to like {} for char[4]. --- source3/registry/reg_parse_internal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/registry') diff --git a/source3/registry/reg_parse_internal.c b/source3/registry/reg_parse_internal.c index 64c4e06622..3d3cf472f4 100644 --- a/source3/registry/reg_parse_internal.c +++ b/source3/registry/reg_parse_internal.c @@ -262,7 +262,7 @@ static const struct { {"UTF-16LE", CH_UTF16LE, 2, {0xFF, 0xFE}}, {"UTF-16BE", CH_UTF16BE, 2, {0xFE, 0xFF}}, {"UTF-32BE", CH_INVALID, 4, {0x00, 0x00, 0xFE, 0xFF}}, - {NULL, CH_INVALID, 0, {}} + {NULL, CH_INVALID, 0} }; bool srprs_bom(const char** ptr, const char** name, charset_t* ctype) -- cgit