Skip to content

Commit

Permalink
Change test back to check what it is supposed to check.
Browse files Browse the repository at this point in the history
  • Loading branch information
jerhard committed Dec 11, 2023
1 parent d105414 commit c4a71b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/regression/79-modular/28-return-void-allocated.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ typedef struct node {

node_t *allocate_node(){
// Changing the pointer type to node_t* resolves the issue
node_t* n = malloc(sizeof(node_t));
int* n = malloc(sizeof(node_t));
return (node_t*) n;
}

Expand Down

0 comments on commit c4a71b2

Please sign in to comment.