Fix: Corrected type of size in GuardBytes to be size_t, not int.