Skip to content

Commit

Permalink
Fixed minor warnings on MSVC.
Browse files Browse the repository at this point in the history
Thanks to Mathieu Malaterre <[email protected]> for the pull request.

This closes GitHub PR #109.
  • Loading branch information
Marco Eichelberg committed Sep 4, 2024
1 parent 6621c27 commit 1e1b3cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dcmjpls/libsrc/djcodece.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1152,7 +1152,7 @@ OFCondition DJLSEncoderBase::compressCookedFrame(

frameBuffer = new Uint8[buffer_size];
framePointer = frameBuffer;
result = convertToUninterleaved(frameBuffer, buffer, samplesPerPixel, width, height, jls_params.bitspersample);
result = convertToUninterleaved(frameBuffer, buffer, OFstatic_cast(Uint16, samplesPerPixel), width, height, OFstatic_cast(Uint16, jls_params.bitspersample));
}
#endif

Expand Down

0 comments on commit 1e1b3cb

Please sign in to comment.