- bounds.top = cgbounds.origin.y;
- bounds.left = cgbounds.origin.x;
- bounds.bottom = bounds.top + cgbounds.size.height;
- bounds.right = bounds.left + cgbounds.size.width;
+ bounds.top = (short)cgbounds.origin.y;
+ bounds.left = (short)cgbounds.origin.x;
+ bounds.bottom = (short)(bounds.top + cgbounds.size.height);
+ bounds.right = (short)(bounds.left + cgbounds.size.width);