Hi all.

I picked up an old SunBlade 100 box and installed OpenBSD on it not
too long ago.  Since I spent some time last night and this morning
getting FreeRDP building cleanly on OpenBSD, I thought I would give it
a try on this hardware.

The sparc architecture is a big endian 64-bit chip (btw).  Anyhow,
while I'm running the compile, I keep seeing warnings about a "cast
from pointer to integer of different size" so I dug into it.

In winpr/include/winpr/wtypes.h on line 57, we see the following:

#if __x86_64__
#define __int3264 __int64
#else
#define __int3264 _int32
#endif

As you can see, when we are talking about a 64-bit sparc chip, this
will fail and define it as a 32-bit type.

Anyone have objections to me fixing this up for sparc and putting in a
pull request with the code change?  If not, then I'll probably try it
out on my 32-bit PowerPC machine just to see what else I can shake out
and I'll submit it in a single PR.

Thanks,
Bryan

------------------------------------------------------------------------------
_______________________________________________
FreeRDP-devel mailing list
FreeRDP-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Reply via email to