Switch from int to unsigned int; NFC

This silences a GCC conversion diagnostic about assigning `1` to a
1-bit signed bit-field changing the value from `1` to `-1`.

Co-authored-by: Igor Kushnir <igorkuo@gmail.com>
This commit is contained in:
Aaron Ballman
2023-03-09 09:26:13 -05:00
parent 8f6c47b7a4
commit dbde7cc17c

View File

@@ -362,11 +362,11 @@ typedef struct CXIndexOptions {
/**
* \see clang_createIndex()
*/
int ExcludeDeclarationsFromPCH : 1;
unsigned ExcludeDeclarationsFromPCH : 1;
/**
* \see clang_createIndex()
*/
int DisplayDiagnostics : 1;
unsigned DisplayDiagnostics : 1;
/**
* The path to a directory, in which to store temporary PCH files. If null or
* empty, the default system temporary directory is used. These PCH files are