diff options
| author | Rusty Wagner <dontpanic@binaryninja.com> | 2015-03-03 16:46:20 -0500 |
|---|---|---|
| committer | Rusty Wagner <dontpanic@binaryninja.com> | 2015-03-03 16:46:20 -0500 |
| commit | c0fdb4320c771fec51e7675a2602ced3ca613500 (patch) | |
| tree | 1321d6cf13dc09b7e36daa1fc477111f48b8e6ab /log.cpp | |
| parent | 512ebc2ac144111702171d7ac8c6a1eb2d25b650 (diff) | |
Fix missing cast
Diffstat (limited to 'log.cpp')
| -rw-r--r-- | log.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -47,7 +47,7 @@ static void PerformLog(BNLogLevel level, const char* fmt, va_list args) int len = _vscprintf(fmt, args); if (len < 0) return; - char* msg = malloc(len + 1); + char* msg = (char*)malloc(len + 1); if (!msg) return; if (vsnprintf(msg, len + 1, fmt, args) >= 0) |
