Adri Verhoef wrote:
> Compilation of Vim 7.1.230 on an Alpha processor with Gcc yielded:
>
> gui_motif.c: In function 'find_replace_dialog_create':
> gui_motif.c:3816: warning: cast to pointer from integer of different size
>
> Installation went fine.
> The warning may not be exclusively tied to Vim 7.1.230, I skipped a few
> versions before this one.
That line would be:
XtAddCallback(frdp->find, XmNactivateCallback,
find_replace_callback,
(XtPointer) (do_replace ? FRD_R_FINDNEXT : FRD_FINDNEXT));
I don't see how this is different from similar calls, e.g.:
XtAddCallback(frdp->replace, XmNactivateCallback,
find_replace_callback, (XtPointer)FRD_REPLACE);
Perhaps you can try out what would silence the compiler?
--
INSPECTOR END OF FILM: Move along. There's nothing to see! Keep moving!
[Suddenly he notices the cameras.]
INSPECTOR END OF FILM: (to Camera) All right, put that away sonny.
[He walks over to it and puts his hand over the lens.]
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---