Skip to content
Snippets Groups Projects
Commit a4f6cf13 authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

Task #10660: merged changes from 2.21 release branch back to trunk

parents 86cd7491 18efd255
No related branches found
No related tags found
No related merge requests found
......@@ -74,7 +74,7 @@ void GCFEvent::resizeBuf(uint32 requiredSize)
_buffer = 0;
}
ASSERTSTR(requiredSize > sizePackedGCFEvent, "Requested to few bytes while resizing the buffer of an event of type " << signal << ". minimum #bytes=" << sizePackedGCFEvent << ". requested #bytes=" << requiredSize);
ASSERTSTR(requiredSize >= sizePackedGCFEvent, "Requested to few bytes while resizing the buffer of an event of type " << signal << ". minimum #bytes=" << sizePackedGCFEvent << ". requested #bytes=" << requiredSize);
_buffer = new char[requiredSize];
memset(_buffer, 0, requiredSize);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment