mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
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>
This commit is contained in:
parent
1125d021de
commit
c40d7d6d94
1 changed files with 2 additions and 2 deletions
|
|
@ -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).
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue