1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/print/dymo-cups-drivers/files/patch-src_lm_LabelManagerDriver.cpp
Hans Petter Selasky 514d6dc63e Fix some compiler warnings.
Approved by:	maintainer
2017-11-11 16:07:52 +00:00

18 lines
442 B
C++

--- src/lm/LabelManagerDriver.cpp.orig 2012-02-07 13:22:38 UTC
+++ src/lm/LabelManagerDriver.cpp
@@ -152,12 +152,12 @@ void
CLabelManagerDriver::GetBlanks(
const buffer_t& Buf, size_t& LeaderBlanks, size_t& TrailerBlanks)
{
- size_t i = 0;
+ ssize_t i = 0;
LeaderBlanks = 0;
TrailerBlanks = 0;
- size_t BufSize = Buf.size();
+ ssize_t BufSize = Buf.size();
// count left spaces
for (i = 0; i < BufSize; ++i)