summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/OS/os.c-SunOS52
-rw-r--r--src/OS/os.h-SunOS52
2 files changed, 2 insertions, 2 deletions
diff --git a/src/OS/os.c-SunOS5 b/src/OS/os.c-SunOS5
index 69305e2cc..8ad8c9380 100644
--- a/src/OS/os.c-SunOS5
+++ b/src/OS/os.c-SunOS5
@@ -17,7 +17,7 @@ src/os.c file. */
A feature-test would be good. */
char *
-strndup(const char * s, size_t n)
+strndup(const char * s, unsigned long n)
{
char * dest;
if (!(dest = malloc(n))) return NULL;
diff --git a/src/OS/os.h-SunOS5 b/src/OS/os.h-SunOS5
index f51b009ef..113adc05f 100644
--- a/src/OS/os.h-SunOS5
+++ b/src/OS/os.h-SunOS5
@@ -48,6 +48,6 @@ a buffer */
# define MAX(a,b) (((a)>(b))?(a):(b))
#endif
-extern char * strndup(const char *, size_t);
+extern char * strndup(const char *, unsigned long);
/* End */