mirror of
https://git.code.sf.net/p/ntfs-3g/ntfs-3g.git
synced 2024-11-23 10:04:00 +08:00
ntfstruncate.c: Fix incorrect type for CPU-endian value in 'ucstos'.
This commit is contained in:
parent
1b67b943df
commit
7e9003b147
@ -286,7 +286,7 @@ static void parse_options(int argc, char *argv[])
|
||||
*/
|
||||
static int ucstos(char *dest, const ntfschar *src, int maxlen)
|
||||
{
|
||||
ntfschar u;
|
||||
u16 u;
|
||||
int i;
|
||||
|
||||
/* Need one byte for null terminator. */
|
||||
|
Loading…
Reference in New Issue
Block a user