NXGetLocalArchInfo() returns a const object (which is OK!), yet some Apple code modifies the returned object -> fix

This commit is contained in:
Lubos Dolezel 2015-12-02 20:54:19 +01:00
parent 19c9feeedf
commit ad3c3b82b4

View File

@ -56,7 +56,7 @@
/* The array of all currently know architecture flags (terminated with an entry
* with all zeros). Pointer to this returned with NXGetAllArchInfos().
*/
static const NXArchInfo ArchInfoTable[] = {
static /* const */ NXArchInfo ArchInfoTable[] = {
/* architecture families */
{"hppa", CPU_TYPE_HPPA, CPU_SUBTYPE_HPPA_ALL, NX_BigEndian,
"HP-PA"},