diff options
author | Erkin Bahceci <erkinbah@gmail.com> | 2009-09-01 02:42:05 -0500 |
---|---|---|
committer | Erkin Bahceci <erkinbah@gmail.com> | 2009-09-01 02:42:05 -0500 |
commit | 83be20c7d0cafe28498a909a095ce7f2836af24f (patch) | |
tree | 12d7869b831285c6ab7d4cc9f5a71771558bdec5 | |
parent | f5e467906e8eecdf1616e5fc69270f55a4c87faf (diff) | |
download | put-83be20c7d0cafe28498a909a095ce7f2836af24f.tar.gz put-83be20c7d0cafe28498a909a095ce7f2836af24f.tar.bz2 |
Fix possible segfault on 64-bit arch. due to passing 0 to va_list and retrieving it as pointer.
-rw-r--r-- | put.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -719,7 +719,7 @@ putInitiateCommon (CompDisplay *d, { /* this will keep put from working while something else has a screen grab */ - if (otherScreenGrabExist (s, "put", 0)) + if (otherScreenGrabExist (s, "put", NULL)) return FALSE; /* we are ok, so grab the screen */ |