Skip to content

Commit 0047ed8

Browse files
szellmannjeffamstutz
authored andcommitted
Compile fix
1 parent ae60fe0 commit 0047ed8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tsd/src/tsd/authoring/importers/import_SWC.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ void readSWCFile(
5252
std::string line;
5353

5454
if (!file.is_open()) {
55-
logError("Error opening file: %s", filename);
55+
logError("Error opening file: %s", filename.c_str());
5656
return;
5757
}
5858

@@ -186,4 +186,4 @@ void import_SWC(Context &ctx, const char *filename, InstanceNode::Ref location)
186186
readSWCFile(ctx, filename, location);
187187
}
188188

189-
} // namespace tsd
189+
} // namespace tsd

0 commit comments

Comments
 (0)