fixes
mlpack.mlpack / Linux (Go) (push) Waiting to run
mlpack.mlpack / Linux (Julia) (push) Waiting to run
mlpack.mlpack / Linux (Markdown) (push) Waiting to run
mlpack.mlpack / Linux (Python) (push) Waiting to run
mlpack.mlpack / macOS (Python) (push) Waiting to run
mlpack.mlpack / Linux (R) (push) Waiting to run
mlpack.mlpack / Linux (CLI) (push) Waiting to run
mlpack.mlpack / macOS (CLI) (push) Waiting to run
mlpack.mlpack / Linux (Debug) (push) Waiting to run
mlpack.mlpack / Windows build: VS2022 (push) Waiting to run

This commit is contained in:
Zhengshou Lai
2025-05-11 22:57:03 +08:00
parent 21f23b3058
commit 8d1776bc29
@@ -773,7 +773,7 @@ static int stbi_write_hdr_core(stbi__write_context *s, int x, int y, int comp, f
#ifdef __STDC_LIB_EXT1__
len = sprintf_s(buffer, sizeof(buffer), "EXPOSURE= 1.0000000000000\n\n-Y %d +X %d\n", y, x);
#else
len = sprintf(buffer, "EXPOSURE= 1.0000000000000\n\n-Y %d +X %d\n", y, x);
len = snprintf(buffer, sizeof(buffer), "EXPOSURE= 1.0000000000000\n\n-Y %d +X %d\n", y, x);
#endif
s->func(s->context, buffer, len);