Permalink
Browse files

Fix type mismatch

  • Loading branch information...
1 parent 24858d0 commit 45325939927917ec1c3367e5d04daf96082e2def @jrmuizel committed Mar 24, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 minpng.h
View
@@ -175,7 +175,7 @@ struct buf buf_cat_str_argb(struct buf b, void *abstract_src, int len)
struct buf buf_cat_str_a8(struct buf b, void *abstract_src, int len)
{
struct buf r;
- unsigned char *src = (unsigned short *)abstract_src;
+ unsigned char *src = (unsigned char *)abstract_src;
char *dest;
r.data = (char *)realloc(b.data, b.len + len);
dest = r.data + b.len;

0 comments on commit 4532593

Please sign in to comment.