Skip to content
Snippets Groups Projects
Commit fc5d80bf authored by rswindell's avatar rswindell
Browse files

Use the "long" printf specifier for file offset (off_t) when __LP64__

is defined - resolves gcc warning in ftpsrvr.c.
parent 49ad114b
Branches
Tags
No related merge requests found
......@@ -252,7 +252,7 @@ typedef int32_t time32_t;
# define PRIuOFF "lu"
# endif
#elif defined(__linux__) || defined(__sun__)
# if defined(_FILE_OFFSET_BITS) && (_FILE_OFFSET_BITS==64)
# if (defined(_FILE_OFFSET_BITS) && (_FILE_OFFSET_BITS==64)) || defined(__LP64__)
# define PRIdOFF PRId64
# define PRIuOFF PRIu64
# else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment