Browse Source

Remove one warning, about type guessed

Leo 10 years ago
parent
commit
eb30730267
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/tmp_file.ml

+ 1 - 1
src/tmp_file.ml

@@ -128,7 +128,7 @@ let log ~cmd ?(func= (+) 1 ) () =
       |> List.map ~f:(fun e -> { Tmp_biniou_t.commands = e})
     in
   (* Write the file with the new value *)
-  write { file with Tmp_biniou_t.rc = new_li file.rc }
+  write Tmp_biniou_t.{ file with rc = new_li file.rc }
 ;;
 
 (* Return current number *)