*
* @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
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;