On Friday, 22 September 2017 09:36:02 CEST Richard W.M. Jones wrote:
--- a/common/mlpcre/pcre-c.c
+++ b/common/mlpcre/pcre-c.c
@@ -201,6 +201,7 @@ value
guestfs_int_pcre_sub (value nv)
{
CAMLparam1 (nv);
+ int n = Int_val (nv);
This variable can be const, to avoid accidental changes.
--
Pino Toscano