Skip to content

Commit b544adf

Browse files
authored
Merge pull request #623 from schroepf/work/fix_cstrings_usage
Change type for C strings to make usage of format strings containing …
2 parents 62606d3 + 7eabe23 commit b544adf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/RswiftCore/SwiftTypes/Type.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ struct Type: UsedTypesProvider, CustomStringConvertible, Hashable {
2929
static let _UInt = Type(module: .stdLib, name: "UInt")
3030
static let _Double = Type(module: .stdLib, name: "Double")
3131
static let _Character = Type(module: .stdLib, name: "Character")
32-
static let _CStringPointer = Type(module: .stdLib, name: "UnsafePointer<unichar>")
32+
static let _CStringPointer = Type(module: .stdLib, name: "UnsafePointer<CChar>")
3333
static let _VoidPointer = Type(module: .stdLib, name: "UnsafePointer<Void>")
3434
static let _URL = Type(module: "Foundation", name: "URL")
3535
static let _Bundle = Type(module: "Foundation", name: "Bundle")

0 commit comments

Comments
 (0)