|
From: <mcm...@us...> - 2013-09-23 09:20:35
|
Revision: 3782
http://sourceforge.net/p/sc2/code/3782
Author: mcmartin
Date: 2013-09-23 09:20:31 +0000 (Mon, 23 Sep 2013)
Log Message:
-----------
fix a crash when talking to the Ur-Quan drone on 64-bit Linux
Modified Paths:
--------------
trunk/sc2/src/libs/strings/getstr.c
Modified: trunk/sc2/src/libs/strings/getstr.c
===================================================================
--- trunk/sc2/src/libs/strings/getstr.c 2013-03-28 12:36:56 UTC (rev 3781)
+++ trunk/sc2/src/libs/strings/getstr.c 2013-09-23 09:20:31 UTC (rev 3782)
@@ -108,15 +108,15 @@
DWORD slen[MAX_STRINGS];
// Length of each of the dialog strings.
DWORD StringOffs;
- DWORD tot_string_size;
+ size_t tot_string_size;
DWORD clen[MAX_STRINGS];
// Length of each of the speech file names.
DWORD ClipOffs;
- DWORD tot_clip_size;
+ size_t tot_clip_size;
DWORD tslen[MAX_STRINGS];
// Length of each of the timestamp strings.
DWORD TSOffs;
- DWORD tot_ts_size = 0;
+ size_t tot_ts_size = 0;
char CurrentLine[1024];
char paths[1024];
char *clip_path;
@@ -423,7 +423,7 @@
DWORD opos;
DWORD slen[MAX_STRINGS];
DWORD StringOffs;
- DWORD tot_string_size;
+ size_t tot_string_size;
char CurrentLine[1024];
char *strdata = NULL;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|