Adri Verhoef wrote:
> On Fri, Jan 18, 2008 at 13:29:51 +0100, Bram Moolenaar wrote: > > > > 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 > > > > 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? > > Here is the solution: > > XtAddCallback(frdp->find, XmNactivateCallback, > find_replace_callback, > (do_replace ? (XtPointer)FRD_R_FINDNEXT : (XtPointer)FRD_FINDNEXT)); Weird. I'll include it, should not hurt any other system. -- The most powerful force in the universe is gossip. /// 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 -~----------~----~----~----~------~----~------~--~---
