Skip to content

Commit

Permalink
CI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dashodanger committed Jun 8, 2024
1 parent 39011fc commit 921e284
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion source_files/obsidian_main/lib_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ FILE *FileOpen(std::string_view name, std::string_view mode)
}
bool FileRename(std::string_view oldname, std::string_view newname)
{
return rename(oldname.c_str(), newname.c_str()) == 0;
return rename(std::string(oldname).c_str(), std::string(newname).c_str()) == 0;
}
bool FileDelete(std::string_view name)
{
Expand Down
1 change: 1 addition & 0 deletions source_files/slump/slump.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
* - Please do not call any derivative of this program SLIGE.
*/

#include <stdint.h>
#include <stdio.h>

#include <string>
Expand Down

0 comments on commit 921e284

Please sign in to comment.