freebsd-ports/sysutils/apachetop/files/patch-src_hits__circle.cc
Alexey Dokuchaev 5bb1e00e7c - Fix some sloppy coding that was upsetting new Clang
- Switch MASTER_SITES to https:// and add LICENSE

PR:		225649 (modified)
Submitted by:	maintainer
2018-02-04 09:44:23 +00:00

11 lines
294 B
C++

--- src/hits_circle.cc.orig 2018-02-04 09:36:17 UTC
+++ src/hits_circle.cc
@@ -24,7 +24,7 @@ int Hits_Circle::create(unsigned int passed_size)
}
reqcount = bytecount = 0;
- memset(rc_summary, (char) NULL, sizeof(rc_summary));
+ memset(rc_summary, 0, sizeof(rc_summary));
return 0;
}