[host] nvfbc: read nvfbc:diffRes option with the correct type

This commit is contained in:
Quantum authored and Geoffrey McRae committed 2021-08-14 09:21:34 +10:00
1 parent e5d252290d
commit 10ee6cd031
1 file changed
+1 -1
@@ -198,7 +198,7 @@ static bool nvfbc_init(void)
return false;
}
int diffRes = option_get_bool("nvfbc", "diffRes");
int diffRes = option_get_int("nvfbc", "diffRes");
enum DiffMapBlockSize blockSize;
NvFBCGetDiffMapBlockSize(diffRes, &blockSize, &this->diffShift, privData, privDataLen);
free(privData);