diff options
author | Robert Moore <Robert.Moore@intel.com> | 2015-07-02 06:22:18 -0700 |
---|---|---|
committer | Robert Moore <Robert.Moore@intel.com> | 2015-07-02 06:22:18 -0700 |
commit | 03f9b1938b163cc09306b3ba17c4bb701abf079d (patch) | |
tree | b4c35ed2f35a992a5102187e31f2ee6bc3f9f2ac /source/tools/acpixtract | |
parent | e4012c81a839ab997afa2f2b3b8bc12ed3a9dd07 (diff) | |
download | acpica-03f9b1938b163cc09306b3ba17c4bb701abf079d.tar.gz |
acpixtract: Replace an "int" with "unsigned int"
The variable is used with %u printf, causing a warning via a
static analysis tool. Reported by Colin Ian King.
Diffstat (limited to 'source/tools/acpixtract')
-rw-r--r-- | source/tools/acpixtract/acpixtract.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/tools/acpixtract/acpixtract.c b/source/tools/acpixtract/acpixtract.c index fa2cb5a08..7e961ff48 100644 --- a/source/tools/acpixtract/acpixtract.c +++ b/source/tools/acpixtract/acpixtract.c @@ -738,7 +738,7 @@ AxListTables ( FILE *InputFile; size_t HeaderSize; unsigned char Header[48]; - int TableCount = 0; + unsigned int TableCount = 0; ACPI_TABLE_HEADER *TableHeader = (ACPI_TABLE_HEADER *) (void *) Header; |