projects
/
imager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4afadaa
)
prevent warning from size difference on some platforms
author
Tony Cook
<tony@develop=help.com>
Thu, 2 Dec 2004 05:26:40 +0000
(
05:26
+0000)
committer
Tony Cook
<tony@develop=help.com>
Thu, 2 Dec 2004 05:26:40 +0000
(
05:26
+0000)
Imager.xs
patch
|
blob
|
blame
|
history
diff --git
a/Imager.xs
b/Imager.xs
index aeae14b905ca59e6991fd07dd0db671ae8ccbd04..d1eb260f321fcc03aae1a69c0b3c39ddebde1419 100644
(file)
--- a/
Imager.xs
+++ b/
Imager.xs
@@
-2295,7
+2295,7
@@
i_writegif(im,fd,colors,pixdev,fixed)
sv1=(*(av_fetch(av,i,0)));
if (sv_derived_from(sv1, "Imager::Color")) {
Itmp = SvIV((SV*)SvRV(sv1));
- tmp =
(i_color*) Itmp
;
+ tmp =
INT2PTR(i_color*, Itmp)
;
} else croak("Imager: one of the elements of array ref is not of Imager::Color type\n");
fixed[i]=*tmp;
}