diff options
Diffstat (limited to 'nuttx/lib/lib_inetntoa.c')
-rw-r--r-- | nuttx/lib/lib_inetntoa.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/lib/lib_inetntoa.c b/nuttx/lib/lib_inetntoa.c index c94f25a52..c19670aff 100644 --- a/nuttx/lib/lib_inetntoa.c +++ b/nuttx/lib/lib_inetntoa.c @@ -1,7 +1,7 @@ /**************************************************************************** * lib/lib_inetntoa.c * - * Copyright (C) 2007 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Redistribution and use in source and binary forms, with or without @@ -14,7 +14,7 @@ * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. - * 3. Neither the name Gregory Nutt nor the names of its contributors may be + * 3. Neither the name NuttX nor the names of its contributors may be * used to endorse or promote products derived from this software * without specific prior written permission. * @@ -60,7 +60,7 @@ FAR char *inet_ntoa(struct in_addr in) { static char buffer[18]; - char *ptr = (char*)&in.s_addr; + FAR char *ptr = (FAR char*)&in.s_addr; sprintf(buffer, "%d.%d.%d.%d", ptr[0], ptr[1], ptr[2], ptr[3]); return buffer; } |