summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@gmail.com>2010-02-03 13:08:04 +0800
committerSam Spilsbury <smspillaz@gmail.com>2010-02-03 13:08:04 +0800
commitaa31df5bb3bf7832a5a82f717dc87d6a2e0f12f1 (patch)
treec942a54a5951ed1efff50dc9c2e47a9e5f9c8164
parente93ace5e88c4a5965bdf4aae04ce9e814adcda70 (diff)
downloadput-aa31df5bb3bf7832a5a82f717dc87d6a2e0f12f1.tar.gz
put-aa31df5bb3bf7832a5a82f717dc87d6a2e0f12f1.tar.bz2
Fix possible segfault on 64 bit arch
-rw-r--r--src/put.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/put.cpp b/src/put.cpp
index 3dac660..2f4d6ea 100644
--- a/src/put.cpp
+++ b/src/put.cpp
@@ -1042,7 +1042,7 @@ PutScreen::initiateCommon (CompAction *action,
{
/* this will keep put from working while something
else has a screen grab */
- if (s->otherGrabExist ("put", 0))
+ if (s->otherGrabExist ("put", NULL))
return false;
/* we are ok, so grab the screen */