diff --git a/bintree.o b/bintree.o index 1e0c0fc..14f7ea1 100644 Binary files a/bintree.o and b/bintree.o differ diff --git a/doble.exe b/doble.exe index 8c669d3..04ae889 100644 Binary files a/doble.exe and b/doble.exe differ diff --git a/highscores.txt b/highscores.txt index 41cccf8..cda4174 100644 --- a/highscores.txt +++ b/highscores.txt @@ -1,4 +1,5 @@ Player1;19887 +Player1;19843 Lena;19811 Lena;19702 Player1;19578 @@ -7,4 +8,3 @@ Lena;9980 Lena;9978 Lena;9978 Lena;9976 -Lena;9975 diff --git a/stack.c b/stack.c index 8c63ec6..0d54b55 100644 --- a/stack.c +++ b/stack.c @@ -4,7 +4,7 @@ // Push Daten auf den Stack legen. StackNode *push(StackNode *stack, void *data) { - StackNode *node = (StackNode *)malloc(sizeof(StackNode)); + StackNode *node = malloc(sizeof(StackNode)); if(node == NULL) return stack; // allocation failed -> return unchanged stack diff --git a/stack.o b/stack.o index 3d96b0c..263c771 100644 Binary files a/stack.o and b/stack.o differ