fixed compiler warning
authorMartin Willi <martin@strongswan.org>
Fri, 18 Jul 2008 10:54:49 +0000 (10:54 -0000)
committerMartin Willi <martin@strongswan.org>
Fri, 18 Jul 2008 10:54:49 +0000 (10:54 -0000)
src/dumm/guest.c

index c4cc7f1..94ee83d 100644 (file)
@@ -328,7 +328,7 @@ static bool load_template(private_guest_t *this, char *path)
 /**
  * Implementation of gues_t.exec
  */
-static int exec(private_guest_t *this, void(*cb)(void*,char*), void *data,
+static int exec(private_guest_t *this, void(*cb)(void*,char*,size_t), void *data,
                                char *cmd, ...)
 {
        char buf[1024];