summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2011-02-28 17:12:26 -0500
committerAdam Jackson <ajax@redhat.com>2011-03-14 13:57:20 -0400
commit016edc17512ba966d60edede8cf947996bae0b3c (patch)
treec84b8cf8b07a93e655f9236bf579bc4cb7a9e806 /include
parent1f2bc777f96fd41feb55a4799ece939652130ef4 (diff)
dix: Define RESTYPE as uint32_t
long is needlessly long on LP64. Reviewed-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/resource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/resource.h b/include/resource.h
index 763aa99d9..772b7b877 100644
--- a/include/resource.h
+++ b/include/resource.h
@@ -56,7 +56,7 @@ SOFTWARE.
/* classes for Resource routines */
-typedef unsigned long RESTYPE;
+typedef uint32_t RESTYPE;
#define RC_VANILLA ((RESTYPE)0)
#define RC_CACHED ((RESTYPE)1<<31)