Commit 90bcd496 authored by Albert Astals Cid's avatar Albert Astals Cid Committed by Albert Astals Cid
Browse files

Cast to the actual type we're storing in

Fixes a warning in gcc 11
parent 45717a50
Pipeline #322943 passed with stages
in 9 minutes and 13 seconds
......@@ -708,7 +708,7 @@ bool FormWidgetSignature::updateOffsets(FILE *f, Goffset objStart, Goffset objEn
return false;
const size_t bufSize = static_cast<int>(objEnd - objStart);
const size_t bufSize = static_cast<size_t>(objEnd - objStart);
if (Gfseek(f, objStart, SEEK_SET) != 0) {
return false;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment