[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] libutil/srtlimcpy.c
From: |
Hideki IWAMOTO |
Subject: |
Re: [PATCH] libutil/srtlimcpy.c |
Date: |
Fri, 14 Mar 2003 01:09:11 +0900 |
I'm sorry. const qualifier was missing.
Index: libutil/strlimcpy.c
===================================================================
RCS file: /cvsroot/global/global/libutil/strlimcpy.c,v
retrieving revision 1.9
diff -u -r1.9 strlimcpy.c
--- libutil/strlimcpy.c 13 Mar 2003 15:38:32 -0000 1.9
+++ libutil/strlimcpy.c 13 Mar 2003 16:08:06 -0000
@@ -41,7 +41,7 @@
const int limit;
{
int n = (int)limit;
- char *s = source;
+ const char *s = source;
while (n--)
if (!(*dest++ = *s++))
----
Hideki IWAMOTO address@hidden