summaryrefslogtreecommitdiffstats
path: root/source3/registry
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-09-23 18:48:25 +0200
committerMichael Adam <obnox@samba.org>2010-09-23 18:49:30 +0200
commitc3f5d990652aec4b4f1f23a5e1c7b644cd46cbe7 (patch)
tree363ebd66ede062af1b07a6a6f6d5a1149f8e76a5 /source3/registry
parent82c0e79b8d8c693c128e83d8062e1543f3bb311d (diff)
downloadsamba-c3f5d990652aec4b4f1f23a5e1c7b644cd46cbe7.tar.gz
samba-c3f5d990652aec4b4f1f23a5e1c7b644cd46cbe7.tar.xz
samba-c3f5d990652aec4b4f1f23a5e1c7b644cd46cbe7.zip
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].
Diffstat (limited to 'source3/registry')
-rw-r--r--source3/registry/reg_parse_internal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/registry/reg_parse_internal.c b/source3/registry/reg_parse_internal.c
index 64c4e066223..3d3cf472f4b 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)