fix compiler warning

This commit is contained in:
Isaac Connor 2020-12-27 11:57:23 -05:00
parent 5624a0bef4
commit 61bffdb249
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ int VncCamera::PrimeCapture() {
mRfb = nullptr;
return -1;
}
if ( (mRfb->width != (unsigned int)width) or (mRfb->height != (unsigned int)height) ) {
if ( ((unsigned int)mRfb->width != width) or ((unsigned int)mRfb->height != height) ) {
Warning("Specified dimensions do not match screen size monitor: (%dx%d) != vnc: (%dx%d)",
width, height, mRfb->width, mRfb->height);
}