summaryrefslogtreecommitdiff
path: root/randr/randrstr.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2008-03-11 13:11:04 -0400
committerKristian Høgsberg <krh@redhat.com>2008-03-11 13:18:01 -0400
commitc7536f4b87e089a7e7c43026b189922fec70c565 (patch)
tree6efd8c1276ddc0c010f376fa8af9129176003ec7 /randr/randrstr.h
parentcc05255191413b3f376edbc600122ff085f45f7b (diff)
Silence REGION_INIT() warning.
Evaluating the address of a BoxRec as a boolean gives this warning: i830_driver.c:2317: warning: the address of 'ScreenBox' will always evaluate as 'true' which is pretty annoying. This patch compares the address to NULL to avoid the pointer->bool conversion and gets rid of the warning. Seems like a lame hack, but the warning is worse.
Diffstat (limited to 'randr/randrstr.h')
0 files changed, 0 insertions, 0 deletions