Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

So it was indeed an embarrasing overlooked syntax error on my behalf. As pointed out by berak in the comments I had sizeof(int) instead of sizeof(size_t) where size_t would have reflected the correct variable type. Cheers