2020-02-23 14:42 CET

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004939Spring engineGeneralpublic2019-01-18 20:12
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionwon't fix 
Product Version100.0+git 
Target VersionFixed in Version 
Summary0004939: used data types in demo file are bad int vs int32_t
Descriptionsizeof(int) may vary depending on compiler:

int should be replaced by int32_t imo
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files




jK (developer)



abma (administrator)

i know, its more a theoretical "problem":

"at least 16", so it could be 32 bit, too

vs fixed width:



hokomoko (developer)

When sending information over the network it's indeed recommended to use stdint types.

Am I going to go through the entire source and change that? no.


dansan (reporter)

There might be a case where it is a problem: When saving the winningAllyTeams in demofiles. Those autohosts create bad demofiles:

* OverKillHost1 OS: Win2012 - Windows NT 6.3 - Build 9600
* EvoRTSDedicated6 OS: Win2012 - Windows NT 6.3 - Build 9600
* notAhost01NA OS: Win2012 - Windows NT 6.3 - Build 9600

See forum thread: https://springrts.com/phpbb/viewtopic.php?f=71&t=35698

Is this commit related to this issue: https://github.com/spring/spring/commit/da07d8db67269bf74fb68856431c1a18e7d66600 ?

-Issue History
Date Modified Username Field Change
2015-08-27 03:22 abma New Issue
2015-08-27 03:22 abma Product Version => 100.0+git
2015-08-27 03:22 abma Description Updated View Revisions
2015-08-27 05:35 jK Note Added: 0015098
2015-08-27 13:41 abma Note Added: 0015099
2015-08-27 15:42 hokomoko Note Added: 0015100
2016-11-02 00:05 dansan Note Added: 0016835
2019-01-18 20:12 Kloot Status new => closed
2019-01-18 20:12 Kloot Resolution open => won't fix
+Issue History