diff --git a/src/history.cpp b/src/history.cpp index a2b4bb0bc..8ee7974e8 100644 --- a/src/history.cpp +++ b/src/history.cpp @@ -270,7 +270,7 @@ class history_file_contents_t { ptr += amt; } } - bzero(ptr, remaining); + memset(ptr, 0, remaining); return true; }