mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +03:00
lib: Align integer types
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
committed by
Jeremy Allison
parent
cffcc39f18
commit
37eb87d2be
@ -126,7 +126,7 @@ static const struct {
|
||||
|
||||
NTSTATUS map_nt_error_from_unix(int unix_error)
|
||||
{
|
||||
int i = 0;
|
||||
size_t i = 0;
|
||||
|
||||
if (unix_error == 0) {
|
||||
/* we map this to an error, not success, as this
|
||||
@ -264,7 +264,7 @@ static const struct {
|
||||
|
||||
int map_errno_from_nt_status(NTSTATUS status)
|
||||
{
|
||||
int i;
|
||||
size_t i;
|
||||
DEBUG(10,("map_errno_from_nt_status: 32 bit codes: code=%08x\n",
|
||||
NT_STATUS_V(status)));
|
||||
|
||||
|
@ -283,7 +283,7 @@ convert a dos eclas/ecode to a NT status32 code
|
||||
*****************************************************************************/
|
||||
NTSTATUS dos_to_ntstatus(uint8_t eclass, uint32_t ecode)
|
||||
{
|
||||
int i;
|
||||
size_t i;
|
||||
if (eclass == 0) return NT_STATUS_OK;
|
||||
for (i=0; i < ARRAY_SIZE(dos_to_ntstatus_map); i++) {
|
||||
if (eclass == dos_to_ntstatus_map[i].dos_class &&
|
||||
|
Reference in New Issue
Block a user