mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
514d6dc63e
Approved by: maintainer
18 lines
437 B
C++
18 lines
437 B
C++
--- src/lw/LabelWriterDriver.cpp.orig 2012-02-07 13:22:37 UTC
|
|
+++ src/lw/LabelWriterDriver.cpp
|
|
@@ -121,12 +121,12 @@ void
|
|
CLabelWriterDriver::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)
|