From 681c603da59a361469398fe6e300b06a8cce0dec Mon Sep 17 00:00:00 2001 From: Christian Kroll Date: Fri, 11 Mar 2011 07:04:44 +0000 Subject: [PATCH] fixed some typos and forgotten debugging stuff --- animations/gameoflife.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/animations/gameoflife.c b/animations/gameoflife.c index 302a7c1..7d04690 100644 --- a/animations/gameoflife.c +++ b/animations/gameoflife.c @@ -59,7 +59,7 @@ typedef unsigned int coord_t; #define LOOP_DETECT_BUFFER_SIZE 8U #ifndef GOL_DELAY - #define GOL_DELAY 250 /* milliseconds */ + #define GOL_DELAY 1 /* milliseconds */ #endif #ifndef GOL_CYCLES @@ -192,7 +192,7 @@ void pfcopy(field_t dest, field_t src){ /******************************************************************************/ #ifndef BITSTUFFED -coord_t pfcmp(field_t dest, field_t src){ +uint8_t pfcmp(field_t dest, field_t src){ coord_t x,y; for(y=YSIZE; y--;){ for(x=XSIZE; x--;){ @@ -205,7 +205,7 @@ coord_t pfcmp(field_t dest, field_t src){ /******************************************************************************/ -uint8 pfempty(field_t src){ +uint8_t pfempty(field_t src){ coord_t x,y; for(y=YSIZE; y--;){ for(x=XSIZE; x--;){