xserver/hw
Alan Coopersmith 05a890df0a LoaderOpen returns either a valid pointer or NULL, so don't check for < 0
Fixes Sun cc warning that was recently elevated to error by the
stricter default CFLAGS changes to xorg-macros:

"loadmod.c", line 914: improper pointer/integer combination: op "<"

Should have been changed when commit ab7f057ce9 changed the
LoaderOpen return type from int to void *.

Changes log message when file is found but dlopen() fails from:
 (EE) LoadModule: Module dbe does not have a dbeModuleData data object.
 (EE) Failed to load module "dbe" (invalid module, 0)
to:
 (EE) Failed to load module "dbe" (loader failed, 7)

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
(cherry picked from commit e4dcf580f0)
2011-12-09 12:33:42 -08:00
..
dmx dmx: Build fix for -Werror=implicit-function-declaration 2011-11-24 12:05:59 -08:00
kdrive Xephyr/dri: register screen and window privates on init 2011-08-09 13:51:21 -07:00
vfb Limit the number of screens Xvfb will attempt to allocate memory for 2011-12-09 12:32:43 -08:00
xfree86 LoaderOpen returns either a valid pointer or NULL, so don't check for < 0 2011-12-09 12:33:42 -08:00
xnest Xnest: Match the host's keymap 2011-10-24 18:16:46 -07:00
xquartz XQuartz: appledri: Correct byte swapping in event notifications 2011-10-28 18:31:10 -07:00
xwin XWin: windowswm: Correct byte swapping in event notifications 2011-10-28 18:31:15 -07:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00