diff options
author | Adam Borowski <kilobyte@angband.pl> | 2011-01-29 23:33:43 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2011-01-30 00:18:22 +0100 |
commit | 43d942690a7a97d6174b78388a512ab8ba8d8cde (patch) | |
tree | c7bb52768a94e3a80f522d41b75552cb194dad81 /crawl-ref/source/quiver.cc | |
parent | 14c0c7cb771bec4e9c6b596eba1e9e723efefefb (diff) | |
download | crawl-ref-43d942690a7a97d6174b78388a512ab8ba8d8cde.tar.gz crawl-ref-43d942690a7a97d6174b78388a512ab8ba8d8cde.zip |
Get rid of some more longs.
Diffstat (limited to 'crawl-ref/source/quiver.cc')
-rw-r--r-- | crawl-ref/source/quiver.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/quiver.cc b/crawl-ref/source/quiver.cc index 1a1fa46541..3999fee78e 100644 --- a/crawl-ref/source/quiver.cc +++ b/crawl-ref/source/quiver.cc @@ -470,7 +470,7 @@ void player_quiver::load(reader& inf) m_last_used_type = (ammo_t)unmarshallInt(inf); ASSERT(m_last_used_type >= AMMO_THROW && m_last_used_type < NUM_AMMO); - const unsigned long count = unmarshallInt(inf); + const unsigned int count = unmarshallInt(inf); ASSERT(count <= ARRAYSZ(m_last_used_of_type)); for (unsigned int i = 0; i < count; i++) |