Go to file
Sebastian Pipping 7e5b71b748 xmlparse.c: Fix XML_Size/XML_Index cast mixup
The "MAX = (type)-1" hack only works for unsigned types:
XML_Size is unsigned but XML_Index is not.
As the positive maximum of signed integers is about
half as big as that of their unsigned counterpart,
we divide by 2.

Example for 2 bit integers:
* signed: -2, -1, 0, 1 == 2^1-1
* unsigned: 0, 1, 2, 3 == 2^2-1

Fixing 4be2cb5afc
2017-06-13 23:37:36 +02:00
expat xmlparse.c: Fix XML_Size/XML_Index cast mixup 2017-06-13 23:37:36 +02:00
testdata wrapped some long lines 2003-09-12 03:52:18 +00:00
.gitignore Added Visual Studio 2013 solution/project files. Will also work in Visual Studio 2015 if VS 2013 is installed. Otherwise, open a "Visual Studio 2015 Developer Command Prompt" and execute "devenv.exe /upgrade expat.sln" in the expat directory to upgrade the main solution and project files (Tests have their own solutions). 2016-06-17 14:34:46 -04:00
.travis.yml Travis: Have xmlts.zip bypass git clean -X 2017-03-13 20:16:06 +01:00