little cleanup
[libfirm] / ir / tr / type.h
index 2319357..98989dd 100644 (file)
  */
 #ifndef _TYPE_TYPEDEF_
 #define _TYPE_TYPEDEF_
-typedef struct type type;
+typedef struct ir_type type;
 #endif
 
 # include "type_or_entity.h"
@@ -814,12 +814,12 @@ typedef enum {
   cc_this_call        = 0x08000000, /**< The first parameter is a this pointer and is transmitted
                                          in a special way. */
 
-  /* some ofter used cases */
+  /* some often used cases */
   cc_cdecl_set        = 0,                                /**< cdecl calling convention */
   cc_stdcall_set      = cc_callee_clear_stk,              /**< stdcall calling convention */
   cc_fastcall_set     = cc_reg_param|cc_callee_clear_stk, /**< fastcall calling convention */
 
-  cc_bits             = 0xFF000000                          /**< the calling convention bits */
+  cc_bits             = (0xFF << 24)                      /**< the calling convention bits */
 } calling_convention;
 
 /** return the default calling convention for method types */