]> git.buserror.net Git - polintos/scott/priv.git/blobdiff - include/c++/orb.h
Explicitly set unsigned long array size in GUID union.
[polintos/scott/priv.git] / include / c++ / orb.h
index 716b18617837c17e70b3fb4dfa0b2b91c689a80e..fa2f54846379c067e84acbfff1e3a8a93028c75d 100644 (file)
@@ -43,7 +43,7 @@ namespace System {
                
                union GUID {
                        unsigned char c[16];
-                       unsigned long l[];
+                       unsigned long l[16 / sizeof(unsigned long)];
                };
 
                uintptr_t downcast(::System::_i_Object *obj, const GUID *new_guid);