Dominique Pelle wrote: > On Linux x86_64 (GUI athena), I see the following compilation warnings: > > gui_athena.c:2257:65: warning: cast to pointer from integer of different size > > gui_at_sb.c:823:60: warning: cast to pointer from integer of different size > gui_at_sb.c:897:50: warning: cast to pointer from integer of different size > gui_at_sb.c:980:47: warning: cast to pointer from integer of different size > > gui_at_fs.c:1644:50: warning: cast to pointer from integer of different size > gui_at_fs.c:1687:4: warning: cast to pointer from integer of different size > gui_at_fs.c:2590:48: warning: cast to pointer from integer of different size > gui_at_fs.c:2592:44: warning: cast to pointer from integer of different size > gui_at_fs.c:2614:43: warning: cast to pointer from integer of different size > gui_at_fs.c:2616:44: warning: cast to pointer from integer of different size > gui_at_fs.c:2666:33: warning: cast to pointer from integer of different size > gui_at_fs.c:2668:32: warning: cast to pointer from integer of different size > gui_at_fs.c:2670:32: warning: cast to pointer from integer of different size > gui_at_fs.c:2672:33: warning: cast to pointer from integer of different size > gui_at_fs.c:2674:38: warning: cast to pointer from integer of different size > gui_at_fs.c:2676:40: warning: cast to pointer from integer of different size > > The double cast in attached patch silences the warnings but it's admittedly > not elegant.
Yeah, this is not nice. But warnings aren't nice either. I'll include it. -- "The question of whether computers can think is just like the question of whether submarines can swim." -- Edsger W. Dijkstra /// Bram Moolenaar -- b...@moolenaar.net -- 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. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php