forked from tTh/FloatImg
sorry...
This commit is contained in:
parent
d11ecd0e3f
commit
36b42ea917
|
@ -48,7 +48,7 @@ int sz, idx;
|
|||
|
||||
sz = s->width * s->height;
|
||||
|
||||
if (FIMG_TYPE_RGB != img->type) {
|
||||
if (FIMG_TYPE_RGB != s->type) {
|
||||
fprintf(stderr, "%s bad type\n", __func__);
|
||||
return -6;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue