summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-04-13 23:27:22 +0000
committerJeremy Allison <jra@samba.org>1998-04-13 23:27:22 +0000
commit3f5d0ae6b28ad1f9847ccb44da644d6a9b072d20 (patch)
tree0977d26b6462df70990fab333affdb5c44a18362
parentd5e040247e180664bd32a0d7d8dd905f46cbdb47 (diff)
downloadsamba-3f5d0ae6b28ad1f9847ccb44da644d6a9b072d20.tar.gz
samba-3f5d0ae6b28ad1f9847ccb44da644d6a9b072d20.tar.bz2
samba-3f5d0ae6b28ad1f9847ccb44da644d6a9b072d20.zip
Fixed aggregate initializer problem for gcc.
Jeremy. (This used to be commit e74428e4287cbc1557cc79d4930371cfaf3256d4)
-rw-r--r--source3/smbd/mangle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/mangle.c b/source3/smbd/mangle.c
index f4e39ef982..3953da54ea 100644
--- a/source3/smbd/mangle.c
+++ b/source3/smbd/mangle.c
@@ -122,7 +122,7 @@ static BOOL ct_initialized = False;
#define isbasechar(C) ( (chartest[ ((C) & 0xff) ]) & BASECHAR_MASK )
#define isillegal(C) ( (chartest[ ((C) & 0xff) ]) & ILLEGAL_MASK )
-static ubi_cacheRoot mangled_cache[1] = { 0 };
+static ubi_cacheRoot mangled_cache[1] = { { { 0 }, 0, 0, 0, 0, 0, 0} };
static BOOL mc_initialized = False;
#define MANGLED_CACHE_MAX_ENTRIES 0
#define MANGLED_CACHE_MAX_MEMORY 16384