Skip to content
Myr

casting to int to remove ptrdiff_t <-> int comparison warnings

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

authored by Brian Collins · committed by Brian Collins · parent 8fca192 · 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.h+1 added-1 removed
2455 unmodified lines
2456 if (!buffer) return NULL;2457 }24582459 if (len) { stb_p_strcpy_s(buffer, sizeof(buffer), "./"); return buffer; }2460 stb_strncpy(buffer, path+x, y-x);2460 stb_strncpy(buffer, path+int(x), int(y-x));2461 return buffer;2462}24632464char *stb_splitpath(char *output, char *src, int flag)
11989 unmodified lines