git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b60edbb
)
fixed path to pdf.h
author
kramm
<kramm>
Sun, 19 Nov 2006 21:37:59 +0000
(21:37 +0000)
committer
kramm
<kramm>
Sun, 19 Nov 2006 21:37:59 +0000
(21:37 +0000)
fixed g++ warning
src/pdf2swf.c
patch
|
blob
|
history
diff --git
a/src/pdf2swf.c
b/src/pdf2swf.c
index
41c9fe1
..
6a61571
100644
(file)
--- a/
src/pdf2swf.c
+++ b/
src/pdf2swf.c
@@
-36,7
+36,7
@@
#include "../lib/rfxswf.h"
#include "../lib/devices/swf.h"
#include "../lib/devices/arts.h"
#include "../lib/rfxswf.h"
#include "../lib/devices/swf.h"
#include "../lib/devices/arts.h"
-#include "../lib/xpdf/pdf.h"
+#include "../lib/pdf/pdf.h"
#include "../lib/log.h"
#define SWFDIR concatPaths(getInstallationPath(), "swfs")
#include "../lib/log.h"
#define SWFDIR concatPaths(getInstallationPath(), "swfs")
@@
-629,9
+629,9
@@
int main(int argn, char *argv[])
int t = y*xnup + x;
if(pages[t].page->width > xmax[x])
int t = y*xnup + x;
if(pages[t].page->width > xmax[x])
- xmax[x] = pages[t].page->width;
+ xmax[x] = (int)pages[t].page->width;
if(pages[t].page->height > ymax[y])
if(pages[t].page->height > ymax[y])
- ymax[y] = pages[t].page->height;
+ ymax[y] = (int)pages[t].page->height;
}
for(x=0;x<xnup;x++) {
width += xmax[x];
}
for(x=0;x<xnup;x++) {
width += xmax[x];