diff options
| author | Reiner Herrmann <reiner@reiner-h.de> | 2011-01-05 01:26:24 +0100 |
|---|---|---|
| committer | Reiner Herrmann <reiner@reiner-h.de> | 2011-01-05 01:26:24 +0100 |
| commit | 8c106e42b0fb7b0306f98643ec80d956b24dd513 (patch) | |
| tree | 471878727e9c2e1d42f7cad7674567318e893499 /src/game.c | |
| parent | fc1b80c1422af16310bb1f38c59b255a2fc5daf7 (diff) | |
fix compilation
Diffstat (limited to 'src/game.c')
| -rw-r--r-- | src/game.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4,6 +4,7 @@ #include <stdbool.h> #include <time.h> #include <unistd.h> +#include <assert.h> void init_mainstack(card* stack, const uint32_t size) { @@ -27,7 +28,7 @@ void start_game(void) bool running = true; int cards = MAX_CARD - MIN_CARD + 1; card mainstack[cards]; - gamestate state = STATE_DEALCARDS; + enum gamestate state = STATE_DEALCARDS; int input; srand(time(0)); |
