ref: 04e00b8a3dc3b645396b410602c18d09a996e8c2
parent: 2c256e6dac16c1a5ab2e30f0b0add281a7e7fdfc
author: Werner Lemberg <[email protected]>
date: Fri Apr 7 13:13:38 EDT 2017
[ftfuzzer] Fix clang warnings. * src/tools/ftfuzzer/ftfuzzer.cc (LLVMFuzzerTestOneInput): Add casts.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2017-04-07 Werner Lemberg <[email protected]>
+
+ [ftfuzzer] Fix clang warnings.
+
+ * src/tools/ftfuzzer/ftfuzzer.cc (LLVMFuzzerTestOneInput): Add
+ casts.
+
2017-04-06 Sascha Brawer <[email protected]>
Werner Lemberg <[email protected]
--- a/src/tools/ftfuzzer/ftfuzzer.cc
+++ b/src/tools/ftfuzzer/ftfuzzer.cc
@@ -276,7 +276,7 @@
? num_faces
: 20;
- Random faces_pool( max_face_cnt, num_faces );
+ Random faces_pool( (int)max_face_cnt, (int)num_faces );
for ( long face_cnt = 0;
face_cnt < max_face_cnt;
@@ -301,7 +301,7 @@
? num_instances
: 20;
- Random instances_pool( max_instance_cnt, num_instances );
+ Random instances_pool( (int)max_instance_cnt, (int)num_instances );
for ( long instance_cnt = 0;
instance_cnt <= max_instance_cnt;