]> git.saurik.com Git - apple/libc.git/blobdiff - mach/slot_name.c
Libc-320.tar.gz
[apple/libc.git] / mach / slot_name.c
index 976db0f90862b6e7cb3401a8ef97961c8a768905..af17981ee09f1374261ee74df1158699030df619 100644 (file)
@@ -56,8 +56,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) {
         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;
         }
         *cpu_name = name;
         *cpu_subname = subname;