aboutsummaryrefslogtreecommitdiffstats
path: root/common/AST.v
diff options
context:
space:
mode:
authorBernhard Schommer <bschommer@users.noreply.github.com>2017-09-22 19:50:52 +0200
committerXavier Leroy <xavierleroy@users.noreply.github.com>2017-09-22 19:50:52 +0200
commita36b3b755e25b8c5d61b9e069114858d9b768f04 (patch)
tree3ffd8bcb28a88ae4ff51989aed37b0ad2cb676b2 /common/AST.v
parent0f210f622a4609811959f4450f770c61f5eb6532 (diff)
downloadcompcert-a36b3b755e25b8c5d61b9e069114858d9b768f04.tar.gz
compcert-a36b3b755e25b8c5d61b9e069114858d9b768f04.zip
Remove coq warnings (#28)
Replace deprecated functions and theorems from the Coq standard library (version 8.6) by their non-deprecated counterparts.
Diffstat (limited to 'common/AST.v')
-rw-r--r--common/AST.v2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/AST.v b/common/AST.v
index 9eeca5b1..a072ef29 100644
--- a/common/AST.v
+++ b/common/AST.v
@@ -214,7 +214,7 @@ Definition init_data_size (i: init_data) : Z :=
| Init_float32 _ => 4
| Init_float64 _ => 8
| Init_addrof _ _ => if Archi.ptr64 then 8 else 4
- | Init_space n => Zmax n 0
+ | Init_space n => Z.max n 0
end.
Fixpoint init_data_list_size (il: list init_data) {struct il} : Z :=