Skip to content

Commit

Permalink
Fix lvalue warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmuizel committed Mar 24, 2011
1 parent 4532593 commit 5b6a9ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minpng.h
Expand Up @@ -307,7 +307,7 @@ struct buf make_png(void *d, int width, int height, int stride, data_cat_fn buf_
idat = buf_cat_str(idat, predictor, sizeof(predictor));
data = buf_cat_str_data(data, d, width*4);
idat = buf_cat_str_data(idat, d, width*4);
(char*)d += stride;
d = (char*)d + stride;
}
idat = buf_cat(idat, be32(adler32((unsigned char *)data.data, data.len)));

Expand Down

0 comments on commit 5b6a9ee

Please sign in to comment.