From 327eba774e5bb17a91f80617bd7359afe0c83f48 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 5 Oct 1998 03:53:25 +0000 Subject: [PATCH] get type of callback right --- source/nmbd/nmbd_synclists.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/nmbd/nmbd_synclists.c b/source/nmbd/nmbd_synclists.c index b6f54dccec0..8dee5ca4f2a 100644 --- a/source/nmbd/nmbd_synclists.c +++ b/source/nmbd/nmbd_synclists.c @@ -51,7 +51,7 @@ static FILE *fp; /******************************************************************* This is the NetServerEnum callback. ******************************************************************/ -static void callback(char *sname, uint32 stype, char *comment) +static void callback(const char *sname, uint32 stype, const char *comment) { fprintf(fp,"\"%s\" %08X \"%s\"\n", sname, stype, comment); } -- 2.11.4.GIT