Files @ r26503:9073979bd47d
Branch filter:

Location: cpp/openttd-patchpack/source/os/os2/installer/remove_opensfx.cmd

PeterN
Fix: Ensure 31-bit shifts are unsigned. (#10128)

Shifting a signed 32-bit integer by 31 bits is undefined behaviour.
A few more than necessary are switched to unsigned for consistentency.
@echo off
if "%1" == "" goto err

echo Removing OpenSFX...

del %1\baseset\opensfx\*.* /n
rmdir %1\baseset\opensfx

echo OpenSFX has been removed.
goto end

:err
echo This batch file is only intended for use by the OpenTTD installer.

:end