summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2020-01-22 10:21:17 +0100
committerJeremy Allison <jra@samba.org>2020-01-23 19:11:34 +0000
commita0b967ec15b485329cefa037de85484b97b9d50d (patch)
tree282a24b2b6a51f0fa1344bf42ee018326198bc31 /librpc
parent3c224ee2327e3ae1a97c090f5d5c5c7a833526d5 (diff)
downloadsamba-a0b967ec15b485329cefa037de85484b97b9d50d.tar.gz
librpc: Use PRIu32 printf specifiers
Both values printed are uint32_t's Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'librpc')
-rw-r--r--librpc/ndr/ndr.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/librpc/ndr/ndr.c b/librpc/ndr/ndr.c
index 74bc038c6f2..c772d53f6ed 100644
--- a/librpc/ndr/ndr.c
+++ b/librpc/ndr/ndr.c
@@ -1329,9 +1329,13 @@ _PUBLIC_ enum ndr_err_code ndr_pull_struct_blob_all_noalloc(const DATA_BLOB *blo
highest_ofs = MAX(ndr.offset, ndr.relative_highest_offset);
if (highest_ofs < ndr.data_size) {
enum ndr_err_code ret;
- ret = ndr_pull_error(&ndr, NDR_ERR_UNREAD_BYTES,
- "not all bytes consumed ofs[%u] size[%u]",
- highest_ofs, ndr.data_size);
+ ret = ndr_pull_error(
+ &ndr,
+ NDR_ERR_UNREAD_BYTES,
+ "not all bytes consumed ofs[%"PRIu32"] "
+ "size[%"PRIu32"]",
+ highest_ofs,
+ ndr.data_size);
return ret;
}
return NDR_ERR_SUCCESS;