summaryrefslogtreecommitdiff
path: root/src/weather.c
diff options
context:
space:
mode:
authorYamaArashi <YamaArashi@users.noreply.github.com>2016-12-12 19:26:25 -0800
committerGitHub <noreply@github.com>2016-12-12 19:26:25 -0800
commite6c9d717dfad90e5423ebfc6aef53e0b19ef808d (patch)
tree6d18550f086819f3dee2918f9f04dea22ba9a9b1 /src/weather.c
parent36214115534dd9329b5c02d78595967e671b6caf (diff)
parent6a07ab586cb3f472657a8572a6b7270ea8751f6a (diff)
Merge pull request #126 from marijnvdwerf/clean/up-warnings
Increase warnings and turn warnings into errors
Diffstat (limited to 'src/weather.c')
-rw-r--r--src/weather.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/weather.c b/src/weather.c
index c16faaed8..520185441 100644
--- a/src/weather.c
+++ b/src/weather.c
@@ -192,7 +192,7 @@ void sub_807CB10(void) {
v4 += v11;
dunno = v4 - v9;
if (dunno > 0) {
- v4 -= dunno + ((u16)dunno >> 15) >> 1;
+ v4 -= (dunno + ((u16)dunno >> 15)) >> 1;
}
v1[v6][v2] = v4 >> 8;
if (v1[v6][v2] > 0x1f) {