Skip to content

Commit a5ed8d1

Browse files
authored
convert to const char
1 parent 1a3c1dd commit a5ed8d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ int main(int argc, char *argv[]) {
106106
s.readInputFile(argv[1]);
107107

108108
outfilename = argv[3];
109-
s.writeHeaders(outfilename);
109+
s.writeHeaders(outfilename.c_str());
110110

111111
int cnum = 0;
112112
if ((dir = opendir(s.m_chrdir.c_str())) == NULL) {

0 commit comments

Comments
 (0)