Fixed aggregate initializer problem for gcc.
authorJeremy Allison <jra@samba.org>
Mon, 13 Apr 1998 23:27:22 +0000 (23:27 +0000)
committerJeremy Allison <jra@samba.org>
Mon, 13 Apr 1998 23:27:22 +0000 (23:27 +0000)
Jeremy.
(This used to be commit e74428e4287cbc1557cc79d4930371cfaf3256d4)

source3/smbd/mangle.c

index f4e39ef982302cbc479499d6e9771488423f071f..3953da54eabda339601453d83b8d4f070cdc0b7e 100644 (file)
@@ -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