From 4a8bcf0a92b22059dc6036a94ca5e794c4201c49 Mon Sep 17 00:00:00 2001 From: michaeldsmith <37905569+michaeldsmith@users.noreply.github.com> Date: Tue, 2 Apr 2024 23:50:38 -0700 Subject: [PATCH] Issues/0138 uint32 is deprecated (#148) * fixes #138 - uint32 is deprecated * disable libiff in vcpkg.json and vcpkg github workflows due to security issue --- ctlrender/tiff_file.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctlrender/tiff_file.cc b/ctlrender/tiff_file.cc index afd36e8e..8fb52669 100644 --- a/ctlrender/tiff_file.cc +++ b/ctlrender/tiff_file.cc @@ -484,7 +484,7 @@ void tiff_read_failsafe(TIFF *t, float scale, ctl::dpx::fb *pixels) { pixels->init(w, h, 4); temp_buffer=(uint8_t *)alloca(w*h*4); - TIFFReadRGBAImage(t, w, h, (uint32 *)temp_buffer, 0); + TIFFReadRGBAImage(t, w, h, (uint32_t *)temp_buffer, 0); for(i=0; i