[Mono-dev] WindowsBase in mcs
Paolo Molaro
lupus at ximian.com
Thu Nov 6 10:02:34 EST 2008
On 11/05/08 Alan McGovern wrote:
> 2) minizip exposes 'long' types in it's public API. At the moment I've
> wrapped these as IntPtr types. This will run on all platforms except
> Win64. To resolve this, we'd need to create a wrapper API which exposes
> the 'long' types as int64_t.
When dealing with file offsets long is the wrong type to use, since
it's broken for 32 bit systems too, not only for win64.
int64_t should be used (or gint64...), but the code must be changed
to fix this issue, there is no point in adding a wrapper API, which
wouldn't solve the problem.
lupus
--
-----------------------------------------------------------------
lupus at debian.org debian/rules
lupus at ximian.com Monkeys do it better
More information about the Mono-devel-list
mailing list