summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErkin Bahceci <erkinbah@gmail.com>2009-09-01 02:42:05 -0500
committerErkin Bahceci <erkinbah@gmail.com>2009-09-01 02:42:05 -0500
commit83be20c7d0cafe28498a909a095ce7f2836af24f (patch)
tree12d7869b831285c6ab7d4cc9f5a71771558bdec5
parentf5e467906e8eecdf1616e5fc69270f55a4c87faf (diff)
downloadput-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/put.c b/put.c
index cea967a..daf268f 100644
--- a/put.c
+++ b/put.c
@@ -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 */