mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 06:48:48 +00:00
Fix warnings
This commit is contained in:
parent
612fe84e51
commit
94b31a70a4
2 changed files with 7 additions and 52 deletions
|
|
@ -617,7 +617,7 @@ aint inner_hash (aint depth, auint acc, void *p) {
|
|||
|
||||
extern void *LstringInt (char *b) {
|
||||
aint n;
|
||||
sscanf(b, "%ld", &n);
|
||||
sscanf(b, "%lld", &n);
|
||||
return (void *)BOX(n);
|
||||
}
|
||||
|
||||
|
|
@ -1269,7 +1269,7 @@ extern aint Lread () {
|
|||
|
||||
printf("> ");
|
||||
fflush(stdout);
|
||||
scanf("%li", &result);
|
||||
scanf("%lli", &result);
|
||||
|
||||
return BOX(result);
|
||||
}
|
||||
|
|
@ -1286,7 +1286,7 @@ extern int Lbinoperror2 (void) {
|
|||
|
||||
/* Lwrite is an implementation of the "write" construct */
|
||||
extern aint Lwrite (aint n) {
|
||||
printf("%ld\n", UNBOX(n));
|
||||
printf("%lld\n", UNBOX(n));
|
||||
fflush(stdout);
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue