acpica-tools/int-format.patch
Al Stone d20c515269 Refresh patches and test results
Signed-off-by: Al Stone <ahs3@redhat.com>
2015-03-03 13:40:28 -07:00

49 lines
2.5 KiB
Diff

diff -Naur acpica-unix2-20150204.orig/source/compiler/aslcompile.c acpica-unix2-20150204/source/compiler/aslcompile.c
--- acpica-unix2-20150204.orig/source/compiler/aslcompile.c 2015-03-02 17:11:22.300989116 -0700
+++ acpica-unix2-20150204/source/compiler/aslcompile.c 2015-03-02 17:11:36.883174716 -0700
@@ -680,7 +680,7 @@
if (Gbl_ExceptionCount[ASL_ERROR] > ASL_MAX_ERROR_COUNT)
{
- printf ("\nMaximum error count (%u) exceeded\n",
+ printf ("\nMaximum error count (%d) exceeded\n",
ASL_MAX_ERROR_COUNT);
}
diff -Naur acpica-unix2-20150204.orig/source/tools/acpiexec/aemain.c acpica-unix2-20150204/source/tools/acpiexec/aemain.c
--- acpica-unix2-20150204.orig/source/tools/acpiexec/aemain.c 2015-03-02 17:11:22.313989281 -0700
+++ acpica-unix2-20150204/source/tools/acpiexec/aemain.c 2015-03-02 17:12:42.467009457 -0700
@@ -197,7 +197,7 @@
if (strlen (AcpiGbl_Optarg) > (AE_BUFFER_SIZE -1))
{
- printf ("**** The length of command line (%u) exceeded maximum (%u)\n",
+ printf ("**** The length of command line (%u) exceeded maximum (%d)\n",
(UINT32) strlen (AcpiGbl_Optarg), (AE_BUFFER_SIZE -1));
return (-1);
}
diff -Naur acpica-unix2-20150204/source/compiler/aslerror.c acpica-unix2-20150204.new/source/compiler/aslerror.c
--- acpica-unix2-20150204/source/compiler/aslerror.c 2015-02-04 14:12:18.000000000 -0700
+++ acpica-unix2-20150204.new/source/compiler/aslerror.c 2015-03-02 19:01:35.880311085 -0700
@@ -685,7 +685,7 @@
Gbl_ExceptionCount[Level]++;
if (Gbl_ExceptionCount[ASL_ERROR] > ASL_MAX_ERROR_COUNT)
{
- printf ("\nMaximum error count (%u) exceeded\n", ASL_MAX_ERROR_COUNT);
+ printf ("\nMaximum error count (%d) exceeded\n", ASL_MAX_ERROR_COUNT);
Gbl_SourceLine = 0;
Gbl_NextError = Gbl_ErrorLog;
diff -Naur acpica-unix2-20150204/source/components/debugger/dbexec.c acpica-unix2-20150204.new/source/components/debugger/dbexec.c
--- acpica-unix2-20150204/source/components/debugger/dbexec.c 2015-02-04 14:12:19.000000000 -0700
+++ acpica-unix2-20150204.new/source/components/debugger/dbexec.c 2015-03-02 19:03:54.240975631 -0700
@@ -214,7 +214,7 @@
{
ACPI_ERROR ((AE_INFO,
"Possible overflow of internal debugger buffer (size 0x%X needed 0x%X)",
- ACPI_DEBUG_BUFFER_SIZE, (UINT32) ReturnObj->Length));
+ ACPI_DEBUG_BUFFER_SIZE, (unsigned int) ReturnObj->Length));
}
}