aboutsummaryrefslogtreecommitdiff
path: root/src/check_stmt.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2017-10-30 20:26:05 +0000
committergingerBill <bill@gingerbill.org>2017-10-30 20:26:05 +0000
commit414486829a539095062c3c035df729c11f7f4235 (patch)
treec1c8cc403a26b07bb34812a07a1d9b2fde72c6bf /src/check_stmt.cpp
parent3e05be8eb8b14729b63ee541d11b3deb19b38710 (diff)
Add string_set.cpp; Code clean up
Diffstat (limited to 'src/check_stmt.cpp')
-rw-r--r--src/check_stmt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_stmt.cpp b/src/check_stmt.cpp
index 3add868ec..6bde1abb3 100644
--- a/src/check_stmt.cpp
+++ b/src/check_stmt.cpp
@@ -1670,7 +1670,7 @@ void check_stmt_internal(Checker *c, AstNode *node, u32 flags) {
CheckerContext prev_context = c->context;
if (ok) {
c->context.curr_foreign_library = foreign_library;
- c->context.default_foreign_cc = ProcCC_C;
+ c->context.default_foreign_cc = ProcCC_CDecl;
}
check_foreign_block_decl_attributes(c, fb);