git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added gfximage_free to gfximage.{c,h}
[swftools.git]
/
lib
/
pdf
/
xpdf-changes.patch
diff --git
a/lib/pdf/xpdf-changes.patch
b/lib/pdf/xpdf-changes.patch
index
dbc02ae
..
9068a67
100644
(file)
--- a/
lib/pdf/xpdf-changes.patch
+++ b/
lib/pdf/xpdf-changes.patch
@@
-870,7
+870,7
@@
diff -u -r1.5 -r1.6
+ // used to be mktemp. This does remove the warnings, but
+ // It's not exactly an improvement.
+#ifdef HAVE_LRAND48
+ // used to be mktemp. This does remove the warnings, but
+ // It's not exactly an improvement.
+#ifdef HAVE_LRAND48
-+ sprintf(ptr, "%s%s%08x%08x",dir,sep,lrand48(),lrand48());
++ sprintf(ptr, "%s%s%08x%08x",dir,sep,(unsigned int)lrand48(),(unsigned int)lrand48());
+#else
+# ifdef HAVE_RAND
+ sprintf(ptr, "%s%s%08x%08x",dir,sep,rand(),rand());
+#else
+# ifdef HAVE_RAND
+ sprintf(ptr, "%s%s%08x%08x",dir,sep,rand(),rand());