git-svn-id: svn://db.shs.com.ru/pip@737 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2019-02-08 15:20:52 +00:00
parent 8e7a137ab5
commit 5d5aaa32f6

View File

@@ -452,7 +452,7 @@ private:
//printf("(%p) realloc %d -> %d (%p)\n", this, pid_rsize, as, pid_data);
PIINTROSPECTION_CONTAINER_ALLOC((as-pid_rsize)*sizeof(T))
T * p_d = (T*)(realloc((void*)(pid_data), as*sizeof(T)));
if(!p_d) printf("(%p) realloc (%d)%d -> %d (%p)\n", this, pid_start, pid_rsize, (int)as*sizeof(T), pid_data);
if(!p_d) printf("(%p) realloc (%d)%d -> %d (%p) %d\n", this, (int)pid_start, (int)pid_rsize, (int)as, pid_data, (int)sizeof(T));
assert(p_d);
pid_data = p_d;
pid_rsize = as;