diff options
author | Neil Moore <neil@s-z.org> | 2014-07-12 12:58:42 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2014-07-12 12:59:32 -0400 |
commit | 53f97d336ffa310c8bd12848e9375c45e308c028 (patch) | |
tree | cd9edbf63a91a1d9a580af6ef3e38ae2960e0e92 | |
parent | 2727fff9fba9eba01b8ed5b2b0cbc0fc0a268161 (diff) | |
download | crawl-ref-53f97d336ffa310c8bd12848e9375c45e308c028.tar.gz crawl-ref-53f97d336ffa310c8bd12848e9375c45e308c028.zip |
Avoid a signed/unsigned warning.
-rw-r--r-- | crawl-ref/source/libutil.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/libutil.h b/crawl-ref/source/libutil.h index eabd421c35..667f6d40cc 100644 --- a/crawl-ref/source/libutil.h +++ b/crawl-ref/source/libutil.h @@ -207,7 +207,7 @@ Enum find_earliest_match(string spec, Enum begin, Enum end, const size_t speclen = spec.length(); size_t bestpos = string::npos; size_t bestlen = string::npos; - for (size_t i = begin; i < end; ++i) + for (size_t i = begin; i < (size_t) end; ++i) { const Enum curr = static_cast<Enum>(i); |