author | tron |
Wed, 20 Jul 2005 19:12:30 +0000 | |
changeset 2145 | afe2ff8ed47c |
parent 2144 | 011a8b5ddcaa |
child 2146 | ca98706b9a58 |
--- a/console.c Wed Jul 20 19:08:02 2005 +0000 +++ b/console.c Wed Jul 20 19:12:30 2005 +0000 @@ -827,7 +827,7 @@ *(byte*)var->addr = (byte)value; break; case ICONSOLE_VAR_UINT16: - *(uint16*)var->addr = (byte)value; + *(uint16*)var->addr = (uint16)value; break; case ICONSOLE_VAR_INT16: *(int16*)var->addr = (int16)value;