diff options
| author | grischka <grischka> | 2016-07-10 20:44:49 +0200 |
|---|---|---|
| committer | grischka <grischka> | 2016-07-10 20:44:49 +0200 |
| commit | 41349948f8db22b09a22628dad15eb40a45d2eff (patch) | |
| tree | 29d52912207a9ddecfedb7161c69fb0502c9c0f1 /tccpp.c | |
| parent | 03609051249a06b458b183596d28b1b883189fc2 (diff) | |
| download | tinycc-41349948f8db22b09a22628dad15eb40a45d2eff.tar.gz tinycc-41349948f8db22b09a22628dad15eb40a45d2eff.tar.bz2 | |
win64: fix va_arg
fixes 5c35ba66c5ade4713bbd9c005e66889f6d7db293
Implementation was consistent within tcc but incompatible
with the ABI (for example library functions vprintf etc)
Also:
- tccpp.c/get_tok_str() : avoid "unknown format "%llu" warning
- x86_64_gen.c/gen_vla_alloc() : fix vstack leak
Diffstat (limited to 'tccpp.c')
| -rw-r--r-- | tccpp.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -464,9 +464,6 @@ ST_FUNC const char *get_tok_str(int v, CValue *cv) switch(v) { case TOK_CINT: case TOK_CUINT: - /* XXX: not quite exact, but only useful for testing */ - sprintf(p, "%llu", (unsigned long long)cv->i); - break; case TOK_CLLONG: case TOK_CULLONG: /* XXX: not quite exact, but only useful for testing */ |
