Compile Problems on x86_64 (+ solution)
Peter Marquardt <[email protected]> Sun, 30 Dec 2007 21:31:02 +0100
| Newsgroups | gmane.comp.mozilla.mplayerplug-in |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello list,
I tried to compile a recent cvs checkout on a Core2Duo (x86_64) but
compilation failed with the error:
cast from _WidgetRec* to int loses precision
on line 287 in plugin-ui.cpp. By changing
printf("Widget: %i\n", (int) w);
to
printf("Widget: %i\n", (long) w);
mplayerplug-in compiles fine on 64bit machines.
regards,
Peter Marquardt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
iD8DBQFHeAAKq8qXHOS9wq8RAueVAJ0czV2nlhG7YdF0830wGWNmU5zOewCdGNWs
ASfAccIF9hKlxP/p8HiAyEQ=
=MCxG
-----END PGP SIGNATURE-----
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/