Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/acpica/dist/utilities Remove a...



details:   https://anonhg.NetBSD.org/src/rev/9b417b7f664a
branches:  trunk
changeset: 318459:9b417b7f664a
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Wed Apr 25 03:45:21 2018 +0000
description:
Remove a unnecessary wrong cast (fix build of ALL)

diffstat:

 sys/external/bsd/acpica/dist/utilities/uttrack.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r c845f98761ca -r 9b417b7f664a sys/external/bsd/acpica/dist/utilities/uttrack.c
--- a/sys/external/bsd/acpica/dist/utilities/uttrack.c  Tue Apr 24 23:29:13 2018 +0000
+++ b/sys/external/bsd/acpica/dist/utilities/uttrack.c  Wed Apr 25 03:45:21 2018 +0000
@@ -449,7 +449,7 @@
     Allocation->Component = Component;
     Allocation->Line = Line;
 
-    AcpiUtSafeStrncpy (Allocation->Module, (char *) Module, ACPI_MAX_MODULE_NAME);
+    AcpiUtSafeStrncpy (Allocation->Module, Module, ACPI_MAX_MODULE_NAME);
 
     if (!Element)
     {



Home | Main Index | Thread Index | Old Index