From b37c52a07a484c894c326cbacfb4b6078e469706 Mon Sep 17 00:00:00 2001 From: Niv Baehr Date: Fri, 20 Dec 2019 01:27:29 +0200 Subject: BLADERUNNER: replace c_long with explicit c_int32 (#1982) * BLADERUNNER: replace long with explicit int32 * BLADERUNNER: add executable permissions to scripts --- devtools/create_bladerunner/subtitles/fontCreator/fontCreator.py | 0 .../subtitles/mixResourceCreator/mixResourceCreator.py | 0 .../subtitles/mixResourceCreator/packBladeRunnerMIXFromPCTLKXLS04.py | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 devtools/create_bladerunner/subtitles/fontCreator/fontCreator.py mode change 100644 => 100755 devtools/create_bladerunner/subtitles/mixResourceCreator/mixResourceCreator.py (limited to 'devtools') diff --git a/devtools/create_bladerunner/subtitles/fontCreator/fontCreator.py b/devtools/create_bladerunner/subtitles/fontCreator/fontCreator.py old mode 100644 new mode 100755 diff --git a/devtools/create_bladerunner/subtitles/mixResourceCreator/mixResourceCreator.py b/devtools/create_bladerunner/subtitles/mixResourceCreator/mixResourceCreator.py old mode 100644 new mode 100755 diff --git a/devtools/create_bladerunner/subtitles/mixResourceCreator/packBladeRunnerMIXFromPCTLKXLS04.py b/devtools/create_bladerunner/subtitles/mixResourceCreator/packBladeRunnerMIXFromPCTLKXLS04.py index a49bd8e0f0..c1b655e54e 100644 --- a/devtools/create_bladerunner/subtitles/mixResourceCreator/packBladeRunnerMIXFromPCTLKXLS04.py +++ b/devtools/create_bladerunner/subtitles/mixResourceCreator/packBladeRunnerMIXFromPCTLKXLS04.py @@ -448,7 +448,7 @@ def calculateFoldHash(strFileName): def getSortMixFilesKey(item): keyTmp = item[0] & 0xFFFFFFFF - signedKeyTmp = ctypes.c_long(keyTmp).value + signedKeyTmp = ctypes.c_int32(keyTmp).value return signedKeyTmp def getSupportedInGameQuotesSheetsList(): -- cgit v1.2.3