Skip to content

Commit

Permalink
defs.h: use warning like this 'warning("%s", str.c_str())'.
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterMatula committed Jan 21, 2019
1 parent 451426c commit 8b96f93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/idaplugin/defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ namespace idaplugin {
#define INFO_MSG(body) if (PRINT_INFO) { std::stringstream ss; ss << std::showbase << "[RetDec info] :\t" << body; msg("%s", ss.str().c_str()); }

/// Use instead of IDA SDK's warning() function.
#define WARNING_GUI(body) { std::stringstream ss; ss << std::showbase << body; warning(ss.str().c_str()); }
#define WARNING_GUI(body) { std::stringstream ss; ss << std::showbase << body; warning("%s", ss.str().c_str()); }

class FunctionInfo
{
Expand Down

0 comments on commit 8b96f93

Please sign in to comment.