Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/evaluation/source/util/EvalLog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ namespace eval {
* @param {int} size
* @return {*}
*/
void SignalHandle(const char* data, int size)
void SignalHandle(const char* data, size_t size)
{
std::ofstream fs("glog_dump.log", std::ios::app);
std::string str = std::string(data, size);
Expand Down
4 changes: 2 additions & 2 deletions src/operation/iPL/source/module/logger/Log.cc
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ namespace ipl {
* @param {int} size
* @return {*}
*/
void SignalHandle(const char* data, int size)
void SignalHandle(const char* data, size_t size)
{
std::ofstream fs("glog_dump.log", std::ios::app);
std::string str = std::string(data, size);
Expand Down Expand Up @@ -101,4 +101,4 @@ void Log::makeSureDirectoryExist(std::string directory_path)
std::filesystem::create_directories(directory_path.c_str());
}

} // namespace ipl
} // namespace ipl
2 changes: 1 addition & 1 deletion src/utility/log/Log.cc
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ namespace ieda {
* @param data
* @param size
*/
void SignalHandle(const char* data, int size)
void SignalHandle(const char* data, size_t size)
{
std::ofstream fs("glog_dump.log", std::ios::app);
std::string str = std::string(data, size);
Expand Down