Skip to content

Commit f315e63

Browse files
Fix target buffer for BIN.
1 parent 401909b commit f315e63

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ugbc/src/targets/common/_infrastructure.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10968,13 +10968,13 @@ Variable * variable_bin( Environment * _environment, char * _value, char * _digi
1096810968
CRITICAL_BIN_UNSUPPORTED( _value, DATATYPE_AS_STRING[originalValue->type]);
1096910969
break;
1097010970
case 32:
10971-
variable_store_string( _environment, result->name, " " );
10971+
variable_store_string( _environment, result->name, "00000000000000000000000000000000" );
1097210972
break;
1097310973
case 16:
10974-
variable_store_string( _environment, result->name, " " );
10974+
variable_store_string( _environment, result->name, "0000000000000000" );
1097510975
break;
1097610976
case 8:
10977-
variable_store_string( _environment, result->name, " " );
10977+
variable_store_string( _environment, result->name, "00000000" );
1097810978
break;
1097910979
}
1098010980

0 commit comments

Comments
 (0)