Discussion:
[SM-imapproxy] compile error on 64 bit RHEL/CentOS
David Severance
2014-07-12 05:01:26 UTC
Permalink
I have noticed that if I try to compile on 64 bit machines (versus 32bit
src/main.c:744: warning: cast to pointer from integer of different size
I believe the problem has to do with improper casting of the int
clientsd to a void pointer. It's been awhile since I coded C so I could
be wrong but I think this needs an adjustment. This is the last thing to
sort out before I can deploy a fully native 64 bit software stack.

thanks,
David
--
David Severance
Enterprise Unix Services
Office of Information Technology
Emmanuel Dreyfus
2014-07-12 11:15:31 UTC
Permalink
Post by David Severance
src/main.c:744: warning: cast to pointer from integer of different size
I believe the problem has to do with improper casting of the int
clientsd to a void pointer.
Une long. They are 32 bits on i386 and 64 bit on amd64.
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
***@netbsd.org
Paul Lesniewski
2016-09-14 01:25:41 UTC
Permalink
Post by David Severance
I have noticed that if I try to compile on 64 bit machines (versus 32bit
src/main.c:744: warning: cast to pointer from integer of different size
I believe the problem has to do with improper casting of the int
clientsd to a void pointer. It's been awhile since I coded C so I could
be wrong but I think this needs an adjustment. This is the last thing to
sort out before I can deploy a fully native 64 bit software stack.
Fixed
--
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php
Loading...