Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
25380f48
Commit
25380f48
authored
Feb 14, 2007
by
Mark Andrews
Browse files
%ld and (long) cast for size_t
parent
cadb5c85
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/isc/mem.c
View file @
25380f48
...
...
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: mem.c,v 1.13
0
2007/02/14 0
0:27:26
marka Exp $ */
/* $Id: mem.c,v 1.13
1
2007/02/14 0
2:39:44
marka Exp $ */
/*! \file */
...
...
@@ -1979,7 +1979,7 @@ isc_mem_renderxml(isc_mem_t *ctx, xmlTextWriterPtr writer)
xmlTextWriterStartElement
(
writer
,
ISC_XMLCHAR
"bucket"
);
xmlTextWriterStartElement
(
writer
,
ISC_XMLCHAR
"size"
);
xmlTextWriterWriteFormatString
(
writer
,
"%d"
,
i
);
xmlTextWriterWriteFormatString
(
writer
,
"%
l
d"
,
(
long
)
i
);
xmlTextWriterEndElement
(
writer
);
/* size */
xmlTextWriterStartElement
(
writer
,
ISC_XMLCHAR
"totalgets"
);
...
...
@@ -2025,7 +2025,7 @@ isc_mem_renderxml(isc_mem_t *ctx, xmlTextWriterPtr writer)
ISC_XMLCHAR
pool
->
name
);
xmlTextWriterStartElement
(
writer
,
ISC_XMLCHAR
"size"
);
xmlTextWriterWriteFormatString
(
writer
,
"%d"
,
pool
->
size
);
xmlTextWriterWriteFormatString
(
writer
,
"%
l
d"
,
(
long
)
pool
->
size
);
xmlTextWriterEndElement
(
writer
);
/* size */
xmlTextWriterStartElement
(
writer
,
ISC_XMLCHAR
"maxalloc"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment