* Squelch warning on Sun

* stdlib and friends are system headers
* 'long long' is the type that consistently turns into the LLVM 'long' type.

llvm-svn: 10241
This commit is contained in:
Chris Lattner 2003-11-27 07:48:45 +00:00
parent f1387a59bf
commit 2a7033255e
1 changed files with 6 additions and 6 deletions

View File

@ -17,12 +17,12 @@
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#include "ctype.h" #include <ctype.h>
#include "stdio.h" #include <stdio.h>
#include "stdlib.h" #include <stdlib.h>
extern long _index_; extern long long _index_;
extern int _stack_[1024]; extern int _stack_[];
extern void _MAIN_(); extern void _MAIN_();
void void
@ -49,7 +49,7 @@ main ( int argc, char** argv )
// so that they get popped in the order presented // so that they get popped in the order presented
while ( a > 0 ) while ( a > 0 )
{ {
if ( isdigit( argv[--a][0] ) ) if ( isdigit( (int) argv[--a][0] ) )
{ {
_stack_[_index_++] = atoi( argv[a] ); _stack_[_index_++] = atoi( argv[a] );
} }