diff gen/classes.cpp @ 285:297690b5d4a5 trunk

[svn r306] Fixed: it's now possible to compile and link llvmdc with MinGW32 and msys on Win32 :D I tried it myself ;) Building the runtime still needs some work, but it's a step in the right direction.
author lindquist
date Sat, 21 Jun 2008 03:14:49 +0200
parents 70c370e97944
children a92ec67eabe7
line wrap: on
line diff
--- a/gen/classes.cpp	Sat Jun 21 02:48:53 2008 +0200
+++ b/gen/classes.cpp	Sat Jun 21 03:14:49 2008 +0200
@@ -1388,10 +1388,10 @@
 #endif
 }
 
-static uint build_classinfo_flags(ClassDeclaration* cd)
+static unsigned build_classinfo_flags(ClassDeclaration* cd)
 {
     // adapted from original dmd code
-    uint flags = 0;
+    unsigned flags = 0;
     //flags |= isCOMclass(); // IUnknown
     bool hasOffTi = false;
     if (cd->ctor) flags |= 8;
@@ -1563,7 +1563,7 @@
         c = defc->getOperand(9);
     }
     else {
-        uint flags = build_classinfo_flags(cd);
+        unsigned flags = build_classinfo_flags(cd);
         c = DtoConstUint(flags);
     }
     inits.push_back(c);