mirror of
https://github.com/apache/nuttx.git
synced 2026-10-12 16:50:21 +00:00
More fixes for compilation with current SDCC compiler
This commit is contained in:
parent
7acc98727b
commit
ccabac3eb6
8 changed files with 43 additions and 9 deletions
|
|
@ -1,7 +1,7 @@
|
|||
/****************************************************************************
|
||||
* /libc/stdlib/lib_strtoul.c
|
||||
*
|
||||
* Copyright (C) 2007, 2009, 2011, 2016 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2007, 2009, 2011, 2016-2017 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
@ -109,7 +109,7 @@ unsigned long strtoul(FAR const char *nptr, FAR char **endptr, int base)
|
|||
|
||||
if (endptr)
|
||||
{
|
||||
*endptr = (char *)nptr;
|
||||
*endptr = (FAR char *)nptr;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue