mirror of
https://git.code.sf.net/p/ntfs-3g/ntfs-3g.git
synced 2024-11-24 10:33:33 +08:00
Warning fixes: change variable to unsigned.
(Logical change 1.508)
This commit is contained in:
parent
c8dd770817
commit
7a64dc8159
@ -123,7 +123,8 @@ int main(int argc, char **argv)
|
|||||||
LOG_CLIENT_RECORD *lcr;
|
LOG_CLIENT_RECORD *lcr;
|
||||||
RECORD_PAGE_HEADER *rcrd;
|
RECORD_PAGE_HEADER *rcrd;
|
||||||
LOG_RECORD *lr;
|
LOG_RECORD *lr;
|
||||||
int buf_size, err, i, page_size, usa_end_ofs, client, pass = 1;
|
int buf_size, err, client, pass = 1;
|
||||||
|
unsigned int page_size, usa_end_ofs, i;
|
||||||
|
|
||||||
printf("\n");
|
printf("\n");
|
||||||
if (argc < 2 || argc > 3)
|
if (argc < 2 || argc > 3)
|
||||||
@ -161,7 +162,8 @@ int main(int argc, char **argv)
|
|||||||
if (!na)
|
if (!na)
|
||||||
device_err_exit(argv[1], vol, ni, NULL, "Failed to "
|
device_err_exit(argv[1], vol, ni, NULL, "Failed to "
|
||||||
"open $LogFile/$DATA (attribute "
|
"open $LogFile/$DATA (attribute "
|
||||||
"0x%x): %s\n", le32_to_cpu(AT_DATA),
|
"0x%x): %s\n",
|
||||||
|
(unsigned int)le32_to_cpu(AT_DATA),
|
||||||
strerror(errno));
|
strerror(errno));
|
||||||
if (!na->data_size)
|
if (!na->data_size)
|
||||||
device_err_exit(argv[1], vol, ni, na, "$LogFile has "
|
device_err_exit(argv[1], vol, ni, na, "$LogFile has "
|
||||||
|
Loading…
Reference in New Issue
Block a user