-
Peter Hutterer authored
The previous check only worked if sizeof(long) > sizeof(int). Rather than be fancy about it, just cast to a signed long, check for negativity and continue based on that. Fixes #137 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
c501dabf