forked from OSchip/llvm-project
* 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:
parent
f1387a59bf
commit
2a7033255e
|
@ -17,12 +17,12 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "ctype.h"
|
||||
#include "stdio.h"
|
||||
#include "stdlib.h"
|
||||
#include <ctype.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
extern long _index_;
|
||||
extern int _stack_[1024];
|
||||
extern long long _index_;
|
||||
extern int _stack_[];
|
||||
extern void _MAIN_();
|
||||
|
||||
void
|
||||
|
@ -49,7 +49,7 @@ main ( int argc, char** argv )
|
|||
// so that they get popped in the order presented
|
||||
while ( a > 0 )
|
||||
{
|
||||
if ( isdigit( argv[--a][0] ) )
|
||||
if ( isdigit( (int) argv[--a][0] ) )
|
||||
{
|
||||
_stack_[_index_++] = atoi( argv[a] );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue