I have a fix for an alignment warning in NSPropertyList.m. I'm trying not to throw an other flamewar by fixing this like David Chisnall suggest me.
Hope this helps. -- Jean-Charles BERTIN Axinoe - Software Engineer Tel.: (+33) (0)1.80.82.59.23 Fax : (+33) (0)1.80.82.59.29 Skype: jcbertin Web: <http://www.axinoe.com/> Certificate Authority: <https://ca.axinoe.com/axinoe-root.crt>
From 8ecb43e42dbe856837816627ebed6059d1186af7 Mon Sep 17 00:00:00 2001 From: Jean-Charles BERTIN <[email protected]> Date: Fri, 8 Mar 2013 14:47:03 +0100 Subject: [PATCH 1/7] Fixed alignment warning. --- Source/NSPropertyList.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/NSPropertyList.m b/Source/NSPropertyList.m index fc08f93..a0a9732 100644 --- a/Source/NSPropertyList.m +++ b/Source/NSPropertyList.m @@ -3721,7 +3721,9 @@ isEqualFunc(const void *item1, const void *item2, offset = [dest length]; [dest setLength: offset + sizeof(unichar)*len]; buffer = [dest mutableBytes] + offset; - [string getCharacters: (unichar*)buffer]; + // Fix alignment warning. This warning can safely + // be ignored since offset is always aligned with unichar. + [string getCharacters: (unichar*)(intptr_t)buffer]; // Always store in big-endian, so if machine is little-endian, // perform byte-swapping. -- 1.8.1.5
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Gnustep-dev mailing list [email protected] https://lists.gnu.org/mailman/listinfo/gnustep-dev
