@@ -79,7 +79,7 @@ std::string NumberFormatter::format(bool value, BoolFormat format)
7979void NumberFormatter::append (std::string& str, int value)
8080{
8181 char result[NF_MAX_INT_STRING_LEN];
82- unsigned sz = NF_MAX_INT_STRING_LEN;
82+ std:: size_t sz = NF_MAX_INT_STRING_LEN;
8383 intToStr (value, 10 , result, sz);
8484 str.append (result, sz);
8585}
@@ -88,7 +88,7 @@ void NumberFormatter::append(std::string& str, int value)
8888void NumberFormatter::append (std::string& str, int value, int width)
8989{
9090 char result[NF_MAX_INT_STRING_LEN];
91- unsigned sz = NF_MAX_INT_STRING_LEN;
91+ std:: size_t sz = NF_MAX_INT_STRING_LEN;
9292 intToStr (value, 10 , result, sz, false , width);
9393 str.append (result, sz);
9494}
@@ -97,7 +97,7 @@ void NumberFormatter::append(std::string& str, int value, int width)
9797void NumberFormatter::append0 (std::string& str, int value, int width)
9898{
9999 char result[NF_MAX_INT_STRING_LEN];
100- unsigned sz = NF_MAX_INT_STRING_LEN;
100+ std:: size_t sz = NF_MAX_INT_STRING_LEN;
101101 intToStr (value, 10 , result, sz, false , width, ' 0' );
102102 str.append (result, sz);
103103}
@@ -106,7 +106,7 @@ void NumberFormatter::append0(std::string& str, int value, int width)
106106void NumberFormatter::appendHex (std::string& str, int value)
107107{
108108 char result[NF_MAX_INT_STRING_LEN];
109- unsigned sz = NF_MAX_INT_STRING_LEN;
109+ std:: size_t sz = NF_MAX_INT_STRING_LEN;
110110 uIntToStr (static_cast <unsigned int >(value), 0x10 , result, sz);
111111 str.append (result, sz);
112112}
@@ -115,7 +115,7 @@ void NumberFormatter::appendHex(std::string& str, int value)
115115void NumberFormatter::appendHex (std::string& str, int value, int width)
116116{
117117 char result[NF_MAX_INT_STRING_LEN];
118- unsigned sz = NF_MAX_INT_STRING_LEN;
118+ std:: size_t sz = NF_MAX_INT_STRING_LEN;
119119 uIntToStr (static_cast <unsigned int >(value), 0x10 , result, sz, false , width, ' 0' );
120120 str.append (result, sz);
121121}
@@ -124,7 +124,7 @@ void NumberFormatter::appendHex(std::string& str, int value, int width)
124124void NumberFormatter::append (std::string& str, unsigned value)
125125{
126126 char result[NF_MAX_INT_STRING_LEN];
127- unsigned sz = NF_MAX_INT_STRING_LEN;
127+ std:: size_t sz = NF_MAX_INT_STRING_LEN;
128128 uIntToStr (value, 10 , result, sz);
129129 str.append (result, sz);
130130}
@@ -133,7 +133,7 @@ void NumberFormatter::append(std::string& str, unsigned value)
133133void NumberFormatter::append (std::string& str, unsigned value, int width)
134134{
135135 char result[NF_MAX_INT_STRING_LEN];
136- unsigned sz = NF_MAX_INT_STRING_LEN;
136+ std:: size_t sz = NF_MAX_INT_STRING_LEN;
137137 uIntToStr (value, 10 , result, sz, false , width);
138138 str.append (result, sz);
139139}
@@ -142,7 +142,7 @@ void NumberFormatter::append(std::string& str, unsigned value, int width)
142142void NumberFormatter::append0 (std::string& str, unsigned int value, int width)
143143{
144144 char result[NF_MAX_INT_STRING_LEN];
145- unsigned sz = NF_MAX_INT_STRING_LEN;
145+ std:: size_t sz = NF_MAX_INT_STRING_LEN;
146146 uIntToStr (value, 10 , result, sz, false , width, ' 0' );
147147 str.append (result, sz);
148148}
@@ -151,7 +151,7 @@ void NumberFormatter::append0(std::string& str, unsigned int value, int width)
151151void NumberFormatter::appendHex (std::string& str, unsigned value)
152152{
153153 char result[NF_MAX_INT_STRING_LEN];
154- unsigned sz = NF_MAX_INT_STRING_LEN;
154+ std:: size_t sz = NF_MAX_INT_STRING_LEN;
155155 uIntToStr (value, 0x10 , result, sz);
156156 str.append (result, sz);
157157}
@@ -160,7 +160,7 @@ void NumberFormatter::appendHex(std::string& str, unsigned value)
160160void NumberFormatter::appendHex (std::string& str, unsigned value, int width)
161161{
162162 char result[NF_MAX_INT_STRING_LEN];
163- unsigned sz = NF_MAX_INT_STRING_LEN;
163+ std:: size_t sz = NF_MAX_INT_STRING_LEN;
164164 uIntToStr (value, 0x10 , result, sz, false , width, ' 0' );
165165 str.append (result, sz);
166166}
@@ -169,7 +169,7 @@ void NumberFormatter::appendHex(std::string& str, unsigned value, int width)
169169void NumberFormatter::append (std::string& str, long value)
170170{
171171 char result[NF_MAX_INT_STRING_LEN];
172- unsigned sz = NF_MAX_INT_STRING_LEN;
172+ std:: size_t sz = NF_MAX_INT_STRING_LEN;
173173 intToStr (value, 10 , result, sz);
174174 str.append (result, sz);
175175}
@@ -178,7 +178,7 @@ void NumberFormatter::append(std::string& str, long value)
178178void NumberFormatter::append (std::string& str, long value, int width)
179179{
180180 char result[NF_MAX_INT_STRING_LEN];
181- unsigned sz = NF_MAX_INT_STRING_LEN;
181+ std:: size_t sz = NF_MAX_INT_STRING_LEN;
182182 intToStr (value, 10 , result, sz, false , width);
183183 str.append (result, sz);
184184}
@@ -187,7 +187,7 @@ void NumberFormatter::append(std::string& str, long value, int width)
187187void NumberFormatter::append0 (std::string& str, long value, int width)
188188{
189189 char result[NF_MAX_INT_STRING_LEN];
190- unsigned sz = NF_MAX_INT_STRING_LEN;
190+ std:: size_t sz = NF_MAX_INT_STRING_LEN;
191191 intToStr (value, 10 , result, sz, false , width, ' 0' );
192192 str.append (result, sz);
193193}
@@ -196,7 +196,7 @@ void NumberFormatter::append0(std::string& str, long value, int width)
196196void NumberFormatter::appendHex (std::string& str, long value)
197197{
198198 char result[NF_MAX_INT_STRING_LEN];
199- unsigned sz = NF_MAX_INT_STRING_LEN;
199+ std:: size_t sz = NF_MAX_INT_STRING_LEN;
200200 uIntToStr (static_cast <unsigned long >(value), 0x10 , result, sz);
201201 str.append (result, sz);
202202}
@@ -205,7 +205,7 @@ void NumberFormatter::appendHex(std::string& str, long value)
205205void NumberFormatter::appendHex (std::string& str, long value, int width)
206206{
207207 char result[NF_MAX_INT_STRING_LEN];
208- unsigned sz = NF_MAX_INT_STRING_LEN;
208+ std:: size_t sz = NF_MAX_INT_STRING_LEN;
209209 uIntToStr (static_cast <unsigned long >(value), 0x10 , result, sz, false , width, ' 0' );
210210 str.append (result, sz);
211211}
@@ -214,7 +214,7 @@ void NumberFormatter::appendHex(std::string& str, long value, int width)
214214void NumberFormatter::append (std::string& str, unsigned long value)
215215{
216216 char result[NF_MAX_INT_STRING_LEN];
217- unsigned sz = NF_MAX_INT_STRING_LEN;
217+ std:: size_t sz = NF_MAX_INT_STRING_LEN;
218218 uIntToStr (value, 10 , result, sz);
219219 str.append (result, sz);
220220}
@@ -223,7 +223,7 @@ void NumberFormatter::append(std::string& str, unsigned long value)
223223void NumberFormatter::append (std::string& str, unsigned long value, int width)
224224{
225225 char result[NF_MAX_INT_STRING_LEN];
226- unsigned sz = NF_MAX_INT_STRING_LEN;
226+ std:: size_t sz = NF_MAX_INT_STRING_LEN;
227227 uIntToStr (value, 10 , result, sz, false , width, ' 0' );
228228 str.append (result, sz);
229229}
@@ -232,7 +232,7 @@ void NumberFormatter::append(std::string& str, unsigned long value, int width)
232232void NumberFormatter::append0 (std::string& str, unsigned long value, int width)
233233{
234234 char result[NF_MAX_INT_STRING_LEN];
235- unsigned sz = NF_MAX_INT_STRING_LEN;
235+ std:: size_t sz = NF_MAX_INT_STRING_LEN;
236236 uIntToStr (value, 10 , result, sz, false , width, ' 0' );
237237 str.append (result, sz);
238238}
@@ -241,7 +241,7 @@ void NumberFormatter::append0(std::string& str, unsigned long value, int width)
241241void NumberFormatter::appendHex (std::string& str, unsigned long value)
242242{
243243 char result[NF_MAX_INT_STRING_LEN];
244- unsigned sz = NF_MAX_INT_STRING_LEN;
244+ std:: size_t sz = NF_MAX_INT_STRING_LEN;
245245 uIntToStr (value, 0x10 , result, sz);
246246 str.append (result, sz);
247247}
@@ -250,7 +250,7 @@ void NumberFormatter::appendHex(std::string& str, unsigned long value)
250250void NumberFormatter::appendHex (std::string& str, unsigned long value, int width)
251251{
252252 char result[NF_MAX_INT_STRING_LEN];
253- unsigned sz = NF_MAX_INT_STRING_LEN;
253+ std:: size_t sz = NF_MAX_INT_STRING_LEN;
254254 uIntToStr (value, 0x10 , result, sz, false , width, ' 0' );
255255 str.append (result, sz);
256256}
@@ -262,7 +262,7 @@ void NumberFormatter::appendHex(std::string& str, unsigned long value, int width
262262void NumberFormatter::append (std::string& str, Int64 value)
263263{
264264 char result[NF_MAX_INT_STRING_LEN];
265- unsigned sz = NF_MAX_INT_STRING_LEN;
265+ std:: size_t sz = NF_MAX_INT_STRING_LEN;
266266 intToStr (value, 10 , result, sz);
267267 str.append (result, sz);
268268}
@@ -271,7 +271,7 @@ void NumberFormatter::append(std::string& str, Int64 value)
271271void NumberFormatter::append (std::string& str, Int64 value, int width)
272272{
273273 char result[NF_MAX_INT_STRING_LEN];
274- unsigned sz = NF_MAX_INT_STRING_LEN;
274+ std:: size_t sz = NF_MAX_INT_STRING_LEN;
275275 intToStr (value, 10 , result, sz, false , width, ' 0' );
276276 str.append (result, sz);
277277}
@@ -280,7 +280,7 @@ void NumberFormatter::append(std::string& str, Int64 value, int width)
280280void NumberFormatter::append0 (std::string& str, Int64 value, int width)
281281{
282282 char result[NF_MAX_INT_STRING_LEN];
283- unsigned sz = NF_MAX_INT_STRING_LEN;
283+ std:: size_t sz = NF_MAX_INT_STRING_LEN;
284284 intToStr (value, 10 , result, sz, false , width, ' 0' );
285285 str.append (result, sz);
286286}
@@ -289,7 +289,7 @@ void NumberFormatter::append0(std::string& str, Int64 value, int width)
289289void NumberFormatter::appendHex (std::string& str, Int64 value)
290290{
291291 char result[NF_MAX_INT_STRING_LEN];
292- unsigned sz = NF_MAX_INT_STRING_LEN;
292+ std:: size_t sz = NF_MAX_INT_STRING_LEN;
293293 uIntToStr (static_cast <UInt64>(value), 0x10 , result, sz);
294294 str.append (result, sz);
295295}
@@ -298,7 +298,7 @@ void NumberFormatter::appendHex(std::string& str, Int64 value)
298298void NumberFormatter::appendHex (std::string& str, Int64 value, int width)
299299{
300300 char result[NF_MAX_INT_STRING_LEN];
301- unsigned sz = NF_MAX_INT_STRING_LEN;
301+ std:: size_t sz = NF_MAX_INT_STRING_LEN;
302302 uIntToStr (static_cast <UInt64>(value), 0x10 , result, sz, false , width, ' 0' );
303303 str.append (result, sz);
304304}
@@ -307,7 +307,7 @@ void NumberFormatter::appendHex(std::string& str, Int64 value, int width)
307307void NumberFormatter::append (std::string& str, UInt64 value)
308308{
309309 char result[NF_MAX_INT_STRING_LEN];
310- unsigned sz = NF_MAX_INT_STRING_LEN;
310+ std:: size_t sz = NF_MAX_INT_STRING_LEN;
311311 uIntToStr (value, 10 , result, sz);
312312 str.append (result, sz);
313313}
@@ -316,7 +316,7 @@ void NumberFormatter::append(std::string& str, UInt64 value)
316316void NumberFormatter::append (std::string& str, UInt64 value, int width)
317317{
318318 char result[NF_MAX_INT_STRING_LEN];
319- unsigned sz = NF_MAX_INT_STRING_LEN;
319+ std:: size_t sz = NF_MAX_INT_STRING_LEN;
320320 uIntToStr (value, 10 , result, sz, false , width, ' 0' );
321321 str.append (result, sz);
322322}
@@ -325,7 +325,7 @@ void NumberFormatter::append(std::string& str, UInt64 value, int width)
325325void NumberFormatter::append0 (std::string& str, UInt64 value, int width)
326326{
327327 char result[NF_MAX_INT_STRING_LEN];
328- unsigned sz = NF_MAX_INT_STRING_LEN;
328+ std:: size_t sz = NF_MAX_INT_STRING_LEN;
329329 uIntToStr (value, 10 , result, sz, false , width, ' 0' );
330330 str.append (result, sz);
331331}
@@ -334,7 +334,7 @@ void NumberFormatter::append0(std::string& str, UInt64 value, int width)
334334void NumberFormatter::appendHex (std::string& str, UInt64 value)
335335{
336336 char result[NF_MAX_INT_STRING_LEN];
337- unsigned sz = NF_MAX_INT_STRING_LEN;
337+ std:: size_t sz = NF_MAX_INT_STRING_LEN;
338338 uIntToStr (value, 0x10 , result, sz);
339339 str.append (result, sz);
340340}
@@ -343,7 +343,7 @@ void NumberFormatter::appendHex(std::string& str, UInt64 value)
343343void NumberFormatter::appendHex (std::string& str, UInt64 value, int width)
344344{
345345 char result[NF_MAX_INT_STRING_LEN];
346- unsigned sz = NF_MAX_INT_STRING_LEN;
346+ std:: size_t sz = NF_MAX_INT_STRING_LEN;
347347 uIntToStr (value, 0x10 , result, sz, false , width, ' 0' );
348348 str.append (result, sz);
349349}
0 commit comments