Can't return signed longs from .c

BlitzMax Forums/BlitzMax Programming/Can't return signed longs from .c

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Not sure if you meant long long in C or B'Max, either way doesn't work though.

Edit:

If I change it to this

signed long ReturnLong()
{
return (signed long)9223372036854775807;
}

I get 1 error:
C:/blitzmax/samples/longtest.c:8: warning: integer constant is too large for "long" type

return (signed long)9223372036854775807; is line 8