gnustep / libs-gui

The GNUstep gui library is a library of graphical user interface classes written completely in the Objective-C language; the classes are based upon Apple's Cocoa framework (which came from the OpenStep specification). *** Larger patches require copyright assignment to FSF. please file bugs here. ***
http://www.gnustep.org
GNU General Public License v3.0
279 stars 103 forks source link

use macro to decode NSInteger into enum - fixes 64Bit Big Endian #292

Closed rmottola closed 2 months ago

rmottola commented 2 months ago

Fix enum decoding issue of https://github.com/gnustep/libs-gui/issues/291

rmottola commented 2 months ago

Could there be other lingering undetected? I guess the issue is signed vs. unsigned enum, which is significative on 64Bit BE... on 32bit BE or 64BIT LE it doesn't caused issues.