diff options
author | Derek Schuff <dschuff@chromium.org> | 2021-10-01 14:04:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-01 21:04:00 +0000 |
commit | 5e53094c51bec5c7745b939bec0907f511001f5c (patch) | |
tree | 59c35c9338233b826bd34ce461a0b7d5bdd61626 /src | |
parent | 1a44da0fef430ff46c39cd56b0545089b9a573d1 (diff) | |
download | binaryen-5e53094c51bec5c7745b939bec0907f511001f5c.tar.gz binaryen-5e53094c51bec5c7745b939bec0907f511001f5c.tar.bz2 binaryen-5e53094c51bec5c7745b939bec0907f511001f5c.zip |
Use ptrdiff_t instead of long for type iterator diff (#4200)
Diffstat (limited to 'src')
-rw-r--r-- | src/wasm-type.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm-type.h b/src/wasm-type.h index 542d26263..0d0b49c70 100644 --- a/src/wasm-type.h +++ b/src/wasm-type.h @@ -267,7 +267,7 @@ public: // Iterator traits using iterator_category = std::random_access_iterator_tag; using value_type = Type; - using difference_type = long; + using difference_type = std::ptrdiff_t; using pointer = const Type*; using reference = const Type&; |