Unicode tool: print values using portable types
ssize_t is not universal; fails to compile in Windows. Task-number: QTBUG-132902 Pick-to: 6.9 Change-Id: I4b8f45cba32202329ac085c7caa0a8c19a11c621 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
e99d5c6268
commit
f7d0366207
@ -2855,7 +2855,7 @@ static void computeUniqueProperties()
|
||||
}
|
||||
d.propertyIndex = index;
|
||||
}
|
||||
qDebug(" %zd unique unicode properties found", ssize_t(uniqueProperties.size()));
|
||||
qDebug(" %" PRIdQSIZETYPE " unique unicode properties found", uniqueProperties.size());
|
||||
}
|
||||
|
||||
struct UniqueBlock {
|
||||
@ -3177,7 +3177,7 @@ static QByteArray createSpecialCaseMap()
|
||||
out += QByteArray::number(maxN);
|
||||
out += ";\n\n";
|
||||
|
||||
qDebug(" memory usage: %zd bytes", ssize_t(specialCaseMap.size() * sizeof(unsigned short)));
|
||||
qDebug(" memory usage: %zu bytes", specialCaseMap.size() * sizeof(unsigned short));
|
||||
|
||||
return out;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user