aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2018-08-27 18:31:28 -0400
committerAndrew Kelley <superjoe30@gmail.com>2018-08-27 18:31:28 -0400
commit45d9d9f953df2167b35878ea02551d9c86ad8a0f (patch)
tree647c64025db7bd7c5948f8d5493befdf566c0071 /src
parente2a9f2ef988e6ff4ec9f943ead9285c67c56ffd7 (diff)
downloadzig-45d9d9f953df2167b35878ea02551d9c86ad8a0f.tar.gz
zig-45d9d9f953df2167b35878ea02551d9c86ad8a0f.zip
minor fixups
Diffstat (limited to 'src')
-rw-r--r--src/ir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir.cpp b/src/ir.cpp
index b4af7f42e2..3117410cd2 100644
--- a/src/ir.cpp
+++ b/src/ir.cpp
@@ -8488,7 +8488,7 @@ static ConstCastOnly types_match_const_cast_only(IrAnalyze *ira, TypeTableEntry
return result;
}
- // *T and [*]T can always cast to ?*c_void
+ // *T and [*]T can always cast to *c_void
if (wanted_type->id == TypeTableEntryIdPointer &&
wanted_type->data.pointer.ptr_len == PtrLenSingle &&
wanted_type->data.pointer.child_type == g->builtin_types.entry_c_void &&