fixed compiler warning

This commit is contained in:
Martin Willi
2008-07-18 10:54:49 +00:00
parent 12b1c1a1bc
commit 1082b06121
+1 -1
View File
@@ -328,7 +328,7 @@ static bool load_template(private_guest_t *this, char *path)
/** /**
* Implementation of gues_t.exec * 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 *cmd, ...)
{ {
char buf[1024]; char buf[1024];