1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

libndr: Use UINT32_MAX -- no need to count F's

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2024-08-29 11:41:07 +02:00 committed by Jeremy Allison
parent b8064a77ee
commit eb882c1306

View File

@ -1675,7 +1675,7 @@ _PUBLIC_ enum ndr_err_code ndr_push_relative_ptr1(struct ndr_push *ndr, const vo
NDR_TOKEN_MAX_LIST_SIZE);
}
NDR_CHECK(ret);
return ndr_push_uint32(ndr, NDR_SCALARS, 0xFFFFFFFF);
return ndr_push_uint32(ndr, NDR_SCALARS, UINT32_MAX);
}
/*