]> git.saurik.com Git - apple/libc.git/blobdiff - mach/slot_name.c
Libc-391.4.3.tar.gz
[apple/libc.git] / mach / slot_name.c
index 976db0f90862b6e7cb3401a8ef97961c8a768905..4d72ec07beb97238cfff85712cc5df695b6fe96a 100644 (file)
@@ -3,8 +3,6 @@
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
- * Copyright (c) 1999-2003 Apple Computer, Inc.  All Rights Reserved.
- * 
  * This file contains Original Code and/or Modifications of Original Code
  * as defined in and that are subject to the Apple Public Source License
  * Version 2.0 (the 'License'). You may not use this file except in
@@ -56,8 +54,8 @@ void slot_name(cpu_type, cpu_subtype, cpu_name, cpu_subname)
         register char  *subname = "";
         const NXArchInfo *ai = NXGetArchInfoFromCpuType(cpu_type, cpu_subtype);
         if (ai != NULL) {
-            name = ai->name;
-            subname = ai->description;
+            name = (char *)ai->name;
+            subname = (char *)ai->description;
         }
         *cpu_name = name;
         *cpu_subname = subname;