diff options
author | Matthias Kramm <kramm@quiss.org> | 2009-04-17 18:14:15 +0200 |
---|---|---|
committer | Matthias Kramm <kramm@quiss.org> | 2009-04-17 18:14:15 +0200 |
commit | 0d0018bb20748de8a38d5791bd08a307e2a421d9 (patch) | |
tree | 2561a900bd9ab2d0a3fed7855efe4f61b87332ac | |
parent | aab59bee1b79b487e2a15ec57a80a857ffd623a5 (diff) |
64bit compatibility fixesrelease-0-9-0
-rw-r--r-- | lib/devices/swf.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/devices/swf.c b/lib/devices/swf.c index 20cb71bf..614b2250 100644 --- a/lib/devices/swf.c +++ b/lib/devices/swf.c @@ -1451,17 +1451,17 @@ void* swfresult_get(gfxresult_t*gfx, const char*name) if(!strcmp(name, "swf")) { return (void*)swf_CopySWF(swf); } else if(!strcmp(name, "xmin")) { - return (void*)(swf->movieSize.xmin/20); + return (void*)(ptroff_t)(swf->movieSize.xmin/20); } else if(!strcmp(name, "ymin")) { - return (void*)(swf->movieSize.ymin/20); + return (void*)(ptroff_t)(swf->movieSize.ymin/20); } else if(!strcmp(name, "xmax")) { - return (void*)(swf->movieSize.xmax/20); + return (void*)(ptroff_t)(swf->movieSize.xmax/20); } else if(!strcmp(name, "ymax")) { - return (void*)(swf->movieSize.ymax/20); + return (void*)(ptroff_t)(swf->movieSize.ymax/20); } else if(!strcmp(name, "width")) { - return (void*)((swf->movieSize.xmax - swf->movieSize.xmin)/20); + return (void*)(ptroff_t)((swf->movieSize.xmax - swf->movieSize.xmin)/20); } else if(!strcmp(name, "height")) { - return (void*)((swf->movieSize.ymax - swf->movieSize.ymin)/20); + return (void*)(ptroff_t)((swf->movieSize.ymax - swf->movieSize.ymin)/20); } return 0; } |