summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/common/xmlconfig.h
diff options
context:
space:
mode:
authorVinson Lee <vlee@freedesktop.org>2014-08-03 13:00:32 -0700
committerVinson Lee <vlee@freedesktop.org>2014-08-05 16:52:42 -0700
commitc40d7d6d948912a4d51cbf8f0854cf2ebe916636 (patch)
treeec61d601f5a6b087256eaff1d32c6fe26a62a95e /src/mesa/drivers/dri/common/xmlconfig.h
parent1125d021de98912f89ee6c81ea6a766348395942 (diff)
downloadexternal_mesa3d-c40d7d6d948912a4d51cbf8f0854cf2ebe916636.zip
external_mesa3d-c40d7d6d948912a4d51cbf8f0854cf2ebe916636.tar.gz
external_mesa3d-c40d7d6d948912a4d51cbf8f0854cf2ebe916636.tar.bz2
dri/xmlconfig: s/uint/unsigned int/
This patch fixes this build error on Mac OS X. ./xmlconfig.h:61:5: error: unknown type name 'uint'; did you mean 'int'? uint nRanges; /**< \brief Number of ranges */ ^~~~ int ./xmlconfig.h:79:5: error: unknown type name 'uint'; did you mean 'int'? uint tableSize; ^~~~ int Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/mesa/drivers/dri/common/xmlconfig.h')
-rw-r--r--src/mesa/drivers/dri/common/xmlconfig.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/common/xmlconfig.h b/src/mesa/drivers/dri/common/xmlconfig.h
index af03234..8969843 100644
--- a/src/mesa/drivers/dri/common/xmlconfig.h
+++ b/src/mesa/drivers/dri/common/xmlconfig.h
@@ -58,7 +58,7 @@ typedef struct driOptionInfo {
char *name; /**< \brief Name */
driOptionType type; /**< \brief Type */
driOptionRange *ranges; /**< \brief Array of ranges */
- uint nRanges; /**< \brief Number of ranges */
+ unsigned int nRanges; /**< \brief Number of ranges */
} driOptionInfo;
/** \brief Option cache
@@ -76,7 +76,7 @@ typedef struct driOptionCache {
* \li Default values in screen
* \li Actual values in contexts
*/
- uint tableSize;
+ unsigned int tableSize;
/**< \brief Size of the arrays
*
* In the current implementation it's not actually a size but log2(size).