mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
Fix format warn (#13)
* fix warning: format '%u' expects argument of type 'unsigned int *', but argument 3 has type 'uint16_t * Change-Id: I3eccf8e2cd917f19b7a9edab233b327297d74bb7 Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> * fix warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' Change-Id: Ic59a1e9e49256637fa73459c46b8cded036cf971 Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
921131895e
commit
53efd71d6d
2 changed files with 2 additions and 2 deletions
|
|
@ -139,7 +139,7 @@ static int ftp_cmd_epsv(FAR struct ftpc_session_s *session,
|
|||
* are supplied.
|
||||
*/
|
||||
|
||||
nscan = sscanf(ptr, "|||%u|", &tmp);
|
||||
nscan = sscanf(ptr, "|||%hu|", &tmp);
|
||||
if (nscan != 1)
|
||||
{
|
||||
nwarn("WARNING: Error parsing EPSV reply: '%s'\n", session->reply);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue