TNonblockingServer.cpp: Replace deprecated bzero with memset (more portable)
diff --git a/lib/cpp/src/thrift/server/TNonblockingServer.cpp b/lib/cpp/src/thrift/server/TNonblockingServer.cpp
index ea394c8..f2b3e70 100644
--- a/lib/cpp/src/thrift/server/TNonblockingServer.cpp
+++ b/lib/cpp/src/thrift/server/TNonblockingServer.cpp
@@ -1438,7 +1438,7 @@
#ifdef HAVE_SCHED_H
// Start out with a standard, low-priority setup for the sched params.
struct sched_param sp;
- bzero((void*)&sp, sizeof(sp));
+ memset(static_cast<void*>(&sp), 0, sizeof(sp));
int policy = SCHED_OTHER;
// If desired, set up high-priority sched params structure.