Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
util.h memory.c
Log Message:
Trivial prototype change (Estrndup).
===================================================================
RCS file: /cvs/e/e16/e/src/util.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- util.h 13 Jan 2007 19:14:29 -0000 1.5
+++ util.h 14 Jan 2007 17:27:01 -0000 1.6
@@ -54,7 +54,7 @@
char *Estrtrim(char *s);
char *Estrdup(const char *s);
-char *Estrndup(const char *s, int n);
+char *Estrndup(const char *s, size_t n);
char *Estrdupcat2(char *ss, const char *s1, const char *s2);
char **StrlistDup(char **lst, int num);
===================================================================
RCS file: /cvs/e/e16/e/src/memory.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -3 -r1.52 -r1.53
--- memory.c 13 Jan 2007 19:14:28 -0000 1.52
+++ memory.c 14 Jan 2007 17:27:01 -0000 1.53
@@ -62,7 +62,7 @@
}
char *
-Estrndup(const char *s, int n)
+Estrndup(const char *s, size_t n)
{
#if USE_LIBC_STRNDUP
if (s)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs