heimdal: Fix the 32-bit build on FreeBSD
Format string fixes that fail in the Samba build on a 32-bit machine Signed-off-by: Volker Lendecke <vl@samba.org>
This commit is contained in:

committed by
Jeffrey Altman

parent
603e673130
commit
f4faaeaba3
@@ -830,7 +830,7 @@ template_object_set(IOSObjectSet *os, Field *typeidfield, Field *opentypefield)
|
||||
}
|
||||
free(objects);
|
||||
|
||||
tlist_header(tl, "{ 0, 0, ((void *)(uintptr_t)%lu) }", nobjs);
|
||||
tlist_header(tl, "{ 0, 0, ((void *)(uintptr_t)%zu) }", nobjs);
|
||||
tlist_print(tl);
|
||||
tlist_add(tl);
|
||||
os->symbol->emitted_template = 1;
|
||||
@@ -970,7 +970,7 @@ template_members(struct templatehead *temp,
|
||||
"{ A1_OP_NAME, %d, \"%s\" }", (int)m->val, m->name);
|
||||
nmemb++;
|
||||
}
|
||||
tlist_header(tl, "{ 0, 0, ((void *)(uintptr_t)%lu) }", nmemb);
|
||||
tlist_header(tl, "{ 0, 0, ((void *)(uintptr_t)%zu) }", nmemb);
|
||||
/* XXX Accidentally O(N^2)? */
|
||||
if (!tlist_find_dup(tl)) {
|
||||
tlist_print(tl);
|
||||
|
Reference in New Issue
Block a user