I'm lazy.

This commit is contained in:
Moritz Bunkus 2007-01-04 19:18:47 +00:00
parent aebda38a61
commit 55f75ea058

View File

@ -32,10 +32,10 @@ class MTX_DLL_API memory_c {
public:
typedef unsigned char X;
explicit memory_c(X *p = NULL, int s = 0, bool f = false): // allocate a new counter
explicit memory_c(void *p = NULL, int s = 0, bool f = false): // allocate a new counter
its_counter(NULL) {
if (p)
its_counter = new counter(p, s, f);
its_counter = new counter((unsigned char *)p, s, f);
}
~memory_c() {