tests: make compile with ISO C90 compilers
commit748c1d8a4036ddc5dbf3a597151ad7b36834db4a
authorStefan Becker <stefan.becker@nokia.com>
Fri, 19 Mar 2010 23:00:39 +0000 (20 01:00 +0200)
committerStefan Becker <stefan.becker@nokia.com>
Fri, 19 Mar 2010 23:00:39 +0000 (20 01:00 +0200)
treea0cf9dcef220db8ceec8d44a6cdbcf942b0554ae
parentadfd4656f6c38cfa79e67db2b0707a11e8b560e6
tests: make compile with ISO C90 compilers

Also fixed the off-by-one error reported by psfales.

NOTE: IMHO the tests are now completely cryptic. tests.c should be rewritten
to split each test/related group of tests into functions. That way the related
data is closer to the test code/comments.
src/purple/tests.c