aboutsummaryrefslogtreecommitdiff
path: root/Examples/test-suite/java/li_boost_shared_ptr_runme.java
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/java/li_boost_shared_ptr_runme.java')
-rw-r--r--Examples/test-suite/java/li_boost_shared_ptr_runme.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/Examples/test-suite/java/li_boost_shared_ptr_runme.java b/Examples/test-suite/java/li_boost_shared_ptr_runme.java
index 64c356f8e..b513fade7 100644
--- a/Examples/test-suite/java/li_boost_shared_ptr_runme.java
+++ b/Examples/test-suite/java/li_boost_shared_ptr_runme.java
@@ -605,7 +605,7 @@ public class li_boost_shared_ptr_runme {
throw new RuntimeException("verify value failed. Expected: " + expected + " Got: " + got);
}
private void verifyCount(int expected, Klass k) {
- int got = li_boost_shared_ptr.use_count(k);
+ int got = (int)li_boost_shared_ptr.use_count(k);
if (expected != got)
throw new RuntimeException("verify use_count failed. Expected: " + expected + " Got: " + got);
}