diff options
author | Michael Adam <obnox@samba.org> | 2010-09-23 18:48:25 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2010-09-23 18:49:30 +0200 |
commit | c3f5d990652aec4b4f1f23a5e1c7b644cd46cbe7 (patch) | |
tree | 363ebd66ede062af1b07a6a6f6d5a1149f8e76a5 /source3/registry | |
parent | 82c0e79b8d8c693c128e83d8062e1543f3bb311d (diff) | |
download | samba-c3f5d990652aec4b4f1f23a5e1c7b644cd46cbe7.tar.gz samba-c3f5d990652aec4b4f1f23a5e1c7b644cd46cbe7.tar.bz2 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.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |