- Joined
- Oct 30, 2009
- Messages
- 14,020
- Reaction score
- 4
- Points
- 0
I don't see a problem there - 'i' isn't a pointer but offset. LAA doesn't change how offsets are added to displacements. You aren't calculating a size of the region by subtracting pointers, which in LAA may give a result bigger than the maximum of a signed int (so signed ints can't be used for lengths or sizes with LAA).Is running down a character array with a signed integer and then calculating character positions by means of adding a negative value to the array pointer a problem?
Some functions which normally returned negative value on an error instead of an address (pointer) may cause a problem.