Mercurial > hg > orthanc
changeset 73:cb5ad233c336
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 17 Sep 2012 13:21:31 +0200 |
parents | aa65ced5f0f0 |
children | 09718f2fc5cb |
files | OrthancServer/FromDcmtkBridge.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancServer/FromDcmtkBridge.cpp Mon Sep 17 12:34:55 2012 +0200 +++ b/OrthancServer/FromDcmtkBridge.cpp Mon Sep 17 13:21:31 2012 +0200 @@ -427,7 +427,7 @@ for (unsigned int x = 0; x < accessor.GetWidth(); x++, pixel++) { int32_t v = accessor.GetValue(x, y); - if (v < typename std::numeric_limits<T>::min()) + if (v < std::numeric_limits<T>::min()) *pixel = std::numeric_limits<T>::min(); else if (v > std::numeric_limits<T>::max()) *pixel = std::numeric_limits<T>::max();