Skip to content

Commit

Permalink
no-pretty fix
Browse files Browse the repository at this point in the history
  • Loading branch information
melsman committed Nov 1, 2023
1 parent ffd9f32 commit a63cfcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Runtime/Repl.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ print_value(char* tau, char* lab, size_t len, char* buf) {
exit(EXIT_FAILURE);
}
int ret = 0;
if ( strcmp(tau, "int") == 0 ) {
if ( strcmp(tau, "int") == 0 || strcmp(tau, "int64") == 0 ) {
ret = snprintf(buf, len, "%lld", convertIntToC(*(long long*)symb));
} else if ( strcmp(tau, "bool") == 0 ) {
if ( *(long long*)symb == mlTRUE ) {
Expand Down

0 comments on commit a63cfcc

Please sign in to comment.