wocommunity/wonder — pull request #580 by markusstoll (2014-05-21 19:23:55+00:00)
Title: Wo adaptor compile fix

As a guy on the mailing list found out, the current WOAdaptor does not compile with all c compilers.
The problem had been introduced by me last month, where I tried to fix 64 bit pointer problems
with as few changes as possible. I did not check enough compiler targets.

The change attached does fix the compile issue and removes some more compiler warnings.
I verified compiling on Mac OSX 10.9 (llvm 5.1 ), Debian Wheezy (gcc 4.7.2) and MingW (gcc 4.8.2)

Additionaly I added a singe first test case, verifying exactly the fix for the original problem, where 64 pointer arithmetic was done wrongly.
The test case can be executed using the CGI version: "WebObjects test"

As there is no functional change, I did not (yet) increase the version number, shall I

Markus