Fix warning.
authorJelmer Vernooij <jelmer@samba.org>
Fri, 4 Mar 2011 23:13:49 +0000 (00:13 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Fri, 4 Mar 2011 23:13:49 +0000 (00:13 +0100)
subvertpy/_ra.c

index f8437d2d29b6f7c3557bd757c95fcdd606e7c4b3..f6c9291f799fbaea4330c39ea658445e26783372 100644 (file)
@@ -1918,7 +1918,7 @@ static PyMethodDef ra_methods[] = {
        { "get_lock", ra_get_lock, METH_VARARGS, 
                "S.get_lock(path) -> lock\n"
        },
-       { "get_dir", ra_get_dir, METH_VARARGS|METH_KEYWORDS, 
+       { "get_dir", (PyCFunction)ra_get_dir, METH_VARARGS|METH_KEYWORDS, 
                "S.get_dir(path, revision, dirent_fields=-1) -> (dirents, fetched_rev, properties)\n"
                "Get the contents of a directory. "},
        { "get_file", ra_get_file, METH_VARARGS,