diff options
Diffstat (limited to 'tunnelbridge_cmd.c')
-rw-r--r-- | tunnelbridge_cmd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tunnelbridge_cmd.c b/tunnelbridge_cmd.c index a639bc673..29e218d3e 100644 --- a/tunnelbridge_cmd.c +++ b/tunnelbridge_cmd.c @@ -609,7 +609,8 @@ uint CheckTunnelBusy(uint tile, int *length) return (uint)-1; } - if (length) *length = len; + if (length != NULL) + *length = len; return tile; } |