Skip to content
Myr

Merge branch 'fix-vs2019-warning' of https://github.com/Reedbeta/stb into work2

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Sean Barrett · committed by Sean Barrett · parents 454da53, 4306eea · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:stb_image_resize.h+1 added-1 removed
1236 unmodified lines
1237 // it okay to use negative indexes on the decode buffer.1238 return &stbir_info->decode_buffer[stbir_info->horizontal_filter_pixel_margin * stbir_info->channels];1239}12401241#define STBIR__DECODE(type, colorspace) ((type) * (STBIR_MAX_COLORSPACES) + (colorspace))1241#define STBIR__DECODE(type, colorspace) ((int)(type) * (STBIR_MAX_COLORSPACES) + (int)(colorspace))12421243static void stbir__decode_scanline(stbir__info* stbir_info, int n)1244{1245 int c;
1385 unmodified lines