summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-08-02 13:16:49 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-08-02 13:16:49 +0000
commit8bf88bd6f9b1608c395f953e9d1187ed6be36411 (patch)
tree6012276729160c0798ae79e1abe9d2fa37e893ca
parentd5e5340c3926d1cf97f6cba151ffaecb20bfb35f (diff)
downloadcrawl-ref-8bf88bd6f9b1608c395f953e9d1187ed6be36411.tar.gz
crawl-ref-8bf88bd6f9b1608c395f953e9d1187ed6be36411.zip
Fixed broken use of unsigned char instead of unsigned int
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--trunk/source/items.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/trunk/source/items.cc b/trunk/source/items.cc
index 420948f3a4..357fc5f120 100644
--- a/trunk/source/items.cc
+++ b/trunk/source/items.cc
@@ -2447,7 +2447,7 @@ void handle_time( long time_delta )
int temp_rand; // probability determination {dlb}
// so as not to reduplicate f(x) calls {dlb}
- unsigned char which_miscast = SPTYP_RANDOM;
+ unsigned int which_miscast = SPTYP_RANDOM;
bool summon_instead; // for branching within a single switch {dlb}
int which_beastie = MONS_PROGRAM_BUG; // error trapping {dlb}