s3/registry: fix compile warning on openindiana
authorBjörn Jacke <bj@sernet.de>
Thu, 23 Aug 2012 13:55:40 +0000 (15:55 +0200)
committerBjoern Jacke <bj@sernet.de>
Thu, 23 Aug 2012 14:43:48 +0000 (16:43 +0200)
source3/registry/reg_parse_internal.c

index 26f4ffeea582e3155ea819a020757121f8f1a7a0..1a5b112642ff196bf4d6d0e85da330f47f2d3b29 100644 (file)
@@ -300,7 +300,7 @@ static const struct {
        const char* const name;
        charset_t ctype;
        int  len;
-       char seq[4];
+       uint8_t seq[4];
 } BOM[] = {
        {"UTF-8",    CH_UTF8,    3, {0xEF, 0xBB, 0xBF}},
        {"UTF-32LE", CH_INVALID, 4, {0xFF, 0xFE, 0x00, 0x00}},