[Gdcm-hackers] gdcm-git:Grassroots DICOM branch release updated. 5d704e22a47704a05954566d92f21fa7fc
Cross-platform DICOM implementation
Brought to you by:
malat
|
From: malat <ma...@us...> - 2025-05-26 09:04:26
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Grassroots DICOM".
The branch, release has been updated
via 5d704e22a47704a05954566d92f21fa7fcaec542 (commit)
from a206d93af7fe44b8e81356cafffdb606831554b6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceforge.net/p/gdcm/gdcm/ci/5d704e22a47704a05954566d92f21fa7fcaec542/
commit 5d704e22a47704a05954566d92f21fa7fcaec542
Author: Oleksandr <Ole...@us...>
Date: Thu Mar 27 15:05:27 2025 +0200
Fix Examples/Cxx/rle2img.cxx on ARM
Add explicit cast to signed char type for fix behavior on platforms with char == unsigned char
diff --git a/Examples/Cxx/rle2img.cxx b/Examples/Cxx/rle2img.cxx
index 16e8bf54e..75b5da48b 100644
--- a/Examples/Cxx/rle2img.cxx
+++ b/Examples/Cxx/rle2img.cxx
@@ -86,7 +86,7 @@ void delta_decode(const char *inbuffer, size_t length, std::vector<unsigned shor
}
else
{
- unsigned short value = (unsigned short)(temp[i] + delta);
+ unsigned short value = (unsigned short)((signed char)temp[i] + delta);
output.push_back( value );
delta = value;
}
-----------------------------------------------------------------------
Summary of changes:
Examples/Cxx/rle2img.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
Grassroots DICOM
|