You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by gr...@apache.org on 2017/10/04 06:34:31 UTC
celix git commit: Fixed minor Coverity issue
Repository: celix
Updated Branches:
refs/heads/develop f7951b2bc -> f00f0da11
Fixed minor Coverity issue
Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/f00f0da1
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/f00f0da1
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/f00f0da1
Branch: refs/heads/develop
Commit: f00f0da115170797cb06031de90145e0df8c147d
Parents: f7951b2
Author: gricciardi <gr...@apache.org>
Authored: Wed Oct 4 08:34:16 2017 +0200
Committer: gricciardi <gr...@apache.org>
Committed: Wed Oct 4 08:34:16 2017 +0200
----------------------------------------------------------------------
examples/dm_example_cxx/phase1/src/Phase1Cmp.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/celix/blob/f00f0da1/examples/dm_example_cxx/phase1/src/Phase1Cmp.cc
----------------------------------------------------------------------
diff --git a/examples/dm_example_cxx/phase1/src/Phase1Cmp.cc b/examples/dm_example_cxx/phase1/src/Phase1Cmp.cc
index 072728c..e82f381 100644
--- a/examples/dm_example_cxx/phase1/src/Phase1Cmp.cc
+++ b/examples/dm_example_cxx/phase1/src/Phase1Cmp.cc
@@ -40,7 +40,7 @@ void Phase1Cmp::deinit() {
int Phase1Cmp::getData() {
counter += 1;
- return rand();
+ return (int)random();
};
std::string Phase1Cmp::getName() {