cast int64 to smaller types (trunk only)
The devteam feedback was to place casts in the code in question. This puts explicit casts on some code that was being compiled into 'int64' then stuffed into smaller types with VC2005.
This commit is contained in:
@@ -227,7 +227,7 @@ nh_timeout()
|
||||
|
||||
for(upp = u.uprops; upp < u.uprops+SIZE(u.uprops); upp++)
|
||||
if((upp->intrinsic & TIMEOUT) && !(--upp->intrinsic & TIMEOUT)) {
|
||||
kptr = find_delayed_killer(upp - u.uprops);
|
||||
kptr = find_delayed_killer((int)(upp - u.uprops));
|
||||
switch(upp - u.uprops){
|
||||
case STONED:
|
||||
if (kptr && kptr->name[0]) {
|
||||
|
||||
Reference in New Issue
Block a user