summaryrefslogtreecommitdiffstats
path: root/src/makeqpf/qpf2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/makeqpf/qpf2.cpp')
-rw-r--r--src/makeqpf/qpf2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/makeqpf/qpf2.cpp b/src/makeqpf/qpf2.cpp
index c56ec391a..41e958d82 100644
--- a/src/makeqpf/qpf2.cpp
+++ b/src/makeqpf/qpf2.cpp
@@ -556,7 +556,7 @@ void QPF::addGlyphs(QFontEngine *fe, const QList<CharacterRange> &ranges)
;
}
- memcpy(data, img.bits(), img.byteCount());
+ memcpy(data, img.bits(), static_cast<size_t>(img.sizeInBytes()));
}
}
}