mirror of
https://github.com/mirror/tinycc.git
synced 2025-03-24 10:00:07 +08:00
stdatomic: fix warnings
This commit is contained in:
parent
1ff8679e79
commit
806b3f987e
3
tccgen.c
3
tccgen.c
@ -5767,7 +5767,7 @@ static void parse_atomic(int atok)
|
||||
size_t arg;
|
||||
SValue *call;
|
||||
CType atom = {};
|
||||
static const char const *templates[] = {
|
||||
static const char *const templates[] = {
|
||||
/*
|
||||
* Each entry consists of callback and function template.
|
||||
* The template represents argument types and return type.
|
||||
@ -5795,6 +5795,7 @@ static void parse_atomic(int atok)
|
||||
|
||||
next();
|
||||
|
||||
mode = 0; /* pacify compiler */
|
||||
vpush_helper_func(atok);
|
||||
call = vtop;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user