File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3067,14 +3067,14 @@ StringBuilder software
30673067 ) {
30683068 StringBuilder oldCPUSimulatorProcessStartInfoArguments = new StringBuilder ( "-t " ) ;
30693069
3070- if ( ! int . TryParse ( Environment . ExpandEnvironmentVariables ( oldCPUSimulatorElement . TargetRate ) , out int targetRate ) ) {
3070+ if ( ! ulong . TryParse ( Environment . ExpandEnvironmentVariables ( oldCPUSimulatorElement . TargetRate ) , out ulong targetRate ) ) {
30713071 throw new ArgumentException ( "The Old CPU Simulator Element has an invalid Target Rate." ) ;
30723072 }
30733073
30743074 oldCPUSimulatorProcessStartInfoArguments . Append ( targetRate ) ;
30753075
30763076 if ( ! String . IsNullOrEmpty ( oldCPUSimulatorElement . RefreshRate ) ) {
3077- if ( ! int . TryParse ( Environment . ExpandEnvironmentVariables ( oldCPUSimulatorElement . RefreshRate ) , out int refreshRate ) ) {
3077+ if ( ! uint . TryParse ( Environment . ExpandEnvironmentVariables ( oldCPUSimulatorElement . RefreshRate ) , out uint refreshRate ) ) {
30783078 throw new ArgumentException ( "The Old CPU Simulator Element has an invalid Refresh Rate." ) ;
30793079 }
30803080
You can’t perform that action at this time.
0 commit comments