[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 02/09: fixed printf("%d", size_t)
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 02/09: fixed printf("%d", size_t) |
Date: |
Mon, 6 Apr 2015 14:30:33 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch master
in repository gnuradio.
commit 9ab66487bbd123d9489878f0fe496fdff088c0db
Author: Marcus Müller <address@hidden>
Date: Mon Apr 6 10:01:36 2015 +0200
fixed printf("%d", size_t)
needs to be u; addresses
https://scan6.coverity.com:8443/reports.htm#v31371/p10336/fileInstanceId=27864370&defectInstanceId=9318166&mergedDefectId=746152&eventId=9318166-0
---
gr-fec/lib/async_encoder_impl.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gr-fec/lib/async_encoder_impl.cc b/gr-fec/lib/async_encoder_impl.cc
index 106ad25..0a87c9e 100644
--- a/gr-fec/lib/async_encoder_impl.cc
+++ b/gr-fec/lib/async_encoder_impl.cc
@@ -118,7 +118,7 @@ namespace gr {
} else {
nblocks = nbits_in / d_encoder->get_input_size();
if( nblocks * d_encoder->get_input_size() != nbits_in ){
- printf("nblocks: %d, in_block_size: %d, got_input_size: %d\n",
+ printf("nblocks: %u, in_block_size: %d, got_input_size: %d\n",
nblocks, d_encoder->get_input_size(), nbits_in);
throw std::runtime_error("input does not divide into code block
size!");
}
- [Commit-gnuradio] [gnuradio] branch master updated (93c25bc -> dc6c212), git, 2015/04/06
- [Commit-gnuradio] [gnuradio] 08/09: Merge remote-tracking branch 'mmueller/coverity_gr_blocks_1216153', git, 2015/04/06
- [Commit-gnuradio] [gnuradio] 06/09: Merge remote-tracking branch 'mmueller/coverity_gr_fec_1293327', git, 2015/04/06
- [Commit-gnuradio] [gnuradio] 09/09: Merge remote-tracking branch 'mmueller/gr_fec_async_encoder_signage', git, 2015/04/06
- [Commit-gnuradio] [gnuradio] 05/09: fixed signed/unsigned comparison, git, 2015/04/06
- [Commit-gnuradio] [gnuradio] 07/09: Merge remote-tracking branch 'mmueller/coverity_gr_dtv_1293311', git, 2015/04/06
- [Commit-gnuradio] [gnuradio] 01/09: Fixing memset(..,0xCCCC,...), git, 2015/04/06
- [Commit-gnuradio] [gnuradio] 03/09: Fix: out-of-bounds memset, git, 2015/04/06
- [Commit-gnuradio] [gnuradio] 04/09: removed unused d_k member, git, 2015/04/06
- [Commit-gnuradio] [gnuradio] 02/09: fixed printf("%d", size_t),
git <=