mirror of
https://github.com/acpica/acpica/
synced 2025-01-20 16:39:25 +03:00
Fix warnings from PR #295 merge - possible loss of data from UINT32 to UINT8 conversions
This commit is contained in:
parent
28b55ece2b
commit
1d7a0aa047
@ -929,11 +929,11 @@ Cleanup:
|
||||
* pop everything off of the operand stack and delete those
|
||||
* objects
|
||||
*/
|
||||
WalkState->NumOperands = i;
|
||||
WalkState->NumOperands = (UINT8) (i);
|
||||
AcpiDsObjStackPopAndDelete (NewNumOperands, WalkState);
|
||||
|
||||
/* Restore operand count */
|
||||
WalkState->NumOperands = PrevNumOperands;
|
||||
WalkState->NumOperands = (UINT8) (PrevNumOperands);
|
||||
|
||||
ACPI_EXCEPTION ((AE_INFO, Status, "While creating Arg %u", Index));
|
||||
return_ACPI_STATUS (Status);
|
||||
|
Loading…
Reference in New Issue
Block a user