Skip to content

Commit

Permalink
Issues/0138 uint32 is deprecated (#148)
Browse files Browse the repository at this point in the history
* fixes #138 - uint32 is deprecated

* disable libiff in vcpkg.json and vcpkg github workflows due to security issue
  • Loading branch information
michaeldsmith authored Apr 3, 2024
1 parent 7133fc2 commit 4a8bcf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ctlrender/tiff_file.cc
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ void tiff_read_failsafe(TIFF *t, float scale, ctl::dpx::fb<float> *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<h; i++) {
flip=temp_buffer+sizeof(uint32_t)*w*(h-i-1);
Expand Down

0 comments on commit 4a8bcf0

Please sign in to comment.