find and replace too much!
authorbarbieri <barbieri>
Fri, 26 Feb 2010 23:41:43 +0000 (23:41 +0000)
committerbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 26 Feb 2010 23:41:43 +0000 (23:41 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@46535 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/eina_strbuf.c

index e55a09c..2b262f6 100644 (file)
@@ -530,7 +530,7 @@ eina_strbuf_length_get(const Eina_Strbuf *buf)
  * @return #EINA_TRUE on success, #EINA_FALSE on failure.
  */
 EAPI Eina_Bool
-eina_strbuf_replace(Eina_Strbuf *buf, const char *str, const char *with, size_t n)
+eina_strbuf_replace(Eina_Strbuf *buf, const char *str, const char *with, unsigned int n)
 {
    EINA_SAFETY_ON_NULL_RETURN_VAL(str, EINA_FALSE);
    EINA_SAFETY_ON_NULL_RETURN_VAL(with, EINA_FALSE);