summaryrefslogtreecommitdiff
path: root/recordmydesktop/src
diff options
context:
space:
mode:
authoriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-02-15 17:16:50 +0000
committeriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-02-15 17:16:50 +0000
commit11933acc03f1145fa775eee7a7a83f258cfe13fe (patch)
tree342869f714013a502f7ce6e8e5551fb135ac94b5 /recordmydesktop/src
parent671fcca40d9ad85da50dbfb73096bf8ee116eeb4 (diff)
*** empty log message ***
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@283 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'recordmydesktop/src')
-rw-r--r--recordmydesktop/src/initialize_data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/recordmydesktop/src/initialize_data.c b/recordmydesktop/src/initialize_data.c
index 74d32cf..c65fcf1 100644
--- a/recordmydesktop/src/initialize_data.c
+++ b/recordmydesktop/src/initialize_data.c
@@ -126,7 +126,7 @@ int InitializeData(ProgData *pdata,
pdata->shimage->height,
IPC_CREAT|0777);
pdata->shminfo.shmaddr=pdata->shimage->data=shmat(pdata->shminfo.shmid,
- 0,0);
+ NULL,0);
pdata->shminfo.readOnly = False;
if(!XShmAttach(pdata->dpy,&pdata->shminfo)){
fprintf(stderr,"Failed to attach shared memory to proccess.\n");
© All Rights Reserved