diff options
| author | biouman <biouman> | 2001-04-30 01:28:54 +0000 | 
|---|---|---|
| committer | biouman <biouman> | 2001-04-30 01:28:54 +0000 | 
| commit | 96ce5e4e35c13d86f0154b23eb256c2acbcbd705 (patch) | |
| tree | 53cb31eb788c6c663974b71d768797681d136660 /lib/pile.c | |
| parent | 51a7864b4b789583ea445af47324a9b613336162 (diff) | |
*** empty log message ***
Diffstat (limited to 'lib/pile.c')
| -rw-r--r-- | lib/pile.c | 4 | 
1 files changed, 1 insertions, 3 deletions
| @@ -16,7 +16,6 @@  #define _(x) x  #endif -/* FIXME manque procedure vidage de pile en fin de prog */  pile_elem pile[PILE_MAX];  unsigned int pile_ptr = 0; @@ -109,7 +108,7 @@ pile_elem pop_pile(unsigned int count)  {  	char buf[50]; -	if ((int) (pile_ptr - count) >= 0) { +	if (((int)(pile_ptr) - (int)count) >= 0) {  		pile_ptr -= count;  	} else {  		sprintf(buf, _("pop_pile: Can't pop %u elements"), count); @@ -359,4 +358,3 @@ void affichage_pile(void) {  	}  	printf(_("\t-- End Printing Stack\n"));  }	 - | 
