mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
fix cast
(This used to be commit af13f5e1788b6f81cfcdaeb85dc709458e3d4816)
This commit is contained in:
parent
d6739a10d0
commit
c79e0abdd7
@ -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