Thread
:
Dungeon Master / Chaos Strikes Back
View Single Post
mlvj
2006-08-07 , 18:55
Posts: 105 | Thanked: 1 time | Joined on Feb 2006
#
17
Right nearly there.
The problem seems to be that a variable:
char somedata [] = {
0x00. 0x01. etc };
...is not aligned on a four byte boundary.
I've tried sticking
#pragma pack(4)
in front of the line, but the thing still doesn't align.
I don't want to stick padding bytes there (nasty idea).
Anyone suggest the right approach, given that I'm porting and I don't want to change the code that assumes it's aligned on a four byte boundary?
Thanks!
Quote & Reply
|
mlvj
View Public Profile
Send a private message to mlvj
Find all posts by mlvj