Menu

#4 src/speedit.cpp:283: size too big ?

v1.0 (example)
open
nobody
None
5
2016-05-26
2016-05-26
dcb
No

src/speedit.cpp:283]: (warning) Size of pointer 'tmp' used instead of size of its data.

Source code is

if((tmp=(unsigned char *)malloc(3*w*h*sizeof(unsigned char *))) == NULL) {

but

unsigned char tmp, pic, dat=tex[n].data;

Discussion


Log in to post a comment.

MongoDB Logo MongoDB