frame_size is a memory size and should be a size_t, not a signed integer.
Attach a file by drag & drop or click to upload