$NetBSD: patch-ac,v 1.1 2007/12/11 13:35:37 yyamano Exp $

--- tests/mock-plugin/mock_sync.c.orig	2007-03-27 20:49:19.000000000 +0900
+++ tests/mock-plugin/mock_sync.c
@@ -224,7 +224,7 @@ static void mock_get_changeinfo(OSyncCon
 		return;
 	}
 	while ((de = g_dir_read_name(dir))) {
-		char *filename = g_build_filename(env->path, de, NULL);
+		char *filename = g_build_filename(env->path, de, (char *)NULL);
 		if (g_file_test(filename, G_FILE_TEST_IS_REGULAR)) {
 			/* Report normal files */
 			OSyncChange *change = osync_change_new();
