mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
fix cast
This commit is contained in:
parent
4db076e08b
commit
af13f5e178
@ -453,7 +453,7 @@ Error was %s\n", argv[0], pwd->pw_name, pfile, strerror(errno));
|
||||
exit(1);
|
||||
}
|
||||
|
||||
sprintf(new_entry, "%s:%u:", pwd->pw_name, pwd->pw_uid);
|
||||
sprintf(new_entry, "%s:%u:", pwd->pw_name, (unsigned)pwd->pw_uid);
|
||||
p = &new_entry[strlen(new_entry)];
|
||||
for( i = 0; i < 16; i++)
|
||||
sprintf(&p[i*2], "%02X", new_p16[i]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user