This is an automated email from the git hooks/post-receive script.

hmmr-guest pushed a commit to branch WIP
in repository aghermann.

commit 5a01afbdc4ca2fdf059545c7a0cc50abd39c62d3
Author: Andrei Zavada <[email protected]>
Date:   Sat Oct 12 00:16:20 2013 +0300

    careful with size_t args to value_within
---
 upstream/src/aghermann/ui/sf/channel.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/upstream/src/aghermann/ui/sf/channel.cc 
b/upstream/src/aghermann/ui/sf/channel.cc
index 5ed6a22..78c5976 100644
--- a/upstream/src/aghermann/ui/sf/channel.cc
+++ b/upstream/src/aghermann/ui/sf/channel.cc
@@ -156,7 +156,7 @@ SChannel (agh::CRecording& r,
                 for ( size_t i = 0; i < raw_profile.size(); ++i )
                         ++histogram[ agh::alg::value_within(
                                         (size_t)roundf((raw_profile[i] - 
hist_range_min) / hist_binsize),
-                                        0lu, hist_bins-1) ];
+                                        (size_t)0, (size_t)hist_bins-1) ];
 
                 static const size_t steady_secs = 10;
                 static const double max_dev_factor = 1.1;

-- 
Alioth's /git/debian-med/git-commit-notice on 
/srv/git.debian.org/git/debian-med/aghermann.git

_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to