mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 05:32:25 +00:00
* Squelch warning on Sun
* stdlib and friends are system headers * 'long long' is the type that consistently turns into the LLVM 'long' type. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10241 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f2ec35be40
commit
35976d91af
@ -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
Block a user