I think our API doesn't provide conversion functions for the types size_t and ssize_t, so we have to use either (Unsigned)Int32 or (Unsigned)Int64 to convert.
I still want to use size_t and ssize_t and would have expected this to work. 64-bit conversions and 32-bit size_t conversion works as expected, but on Windows 32 bit the ssize_t conversion compiles with error C2664: 'logical_t RexxCallContext_::Int32(RexxObjectPtr,int32_t *)': cannot convert argument 2 from 'ssize_t *' to 'int32_t *' ~~~ RexxObjectPtr o; size_t s; ssize_t ss; context->UnsignedInt32(o, &s); context->Int32 (o, &ss); ~~~ Why is that?
_______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel