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 unnecessary ...



details:   https://anonhg.NetBSD.org/src/rev/6af65ad57ae6
branches:  trunk
changeset: 322226:6af65ad57ae6
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 3a9476514a3f -r 6af65ad57ae6 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