aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/types.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/types.h b/include/types.h
index 0a2d8752f..e5804be66 100644
--- a/include/types.h
+++ b/include/types.h
@@ -57,9 +57,9 @@
#ifndef HAVE_U32_TYPEDEF
#undef u32 /* maybe there is a macro with this name */
#if SIZEOF_UNSIGNED_INT == 4
- typedef unsigned long u32;
- #elif SIZEOF_UNSIGNED_LONG == 4
typedef unsigned int u32;
+ #elif SIZEOF_UNSIGNED_LONG == 4
+ typedef unsigned long u32;
#else
#error no typedef for u32
#endif