diff -ruN mysql41-server.old/files/patch-ndb-src-mgmclient::main.cpp mysql41-server/files/patch-ndb-src-mgmclient::main.cpp --- mysql41-server.old/files/patch-ndb-src-mgmclient::main.cpp Wed Dec 31 21:00:00 1969 +++ mysql41-server/files/patch-ndb-src-mgmclient::main.cpp Mon Jan 10 11:59:38 2005 @@ -0,0 +1,11 @@ +--- ndb/src/mgmclient/main.cpp.orig Tue Dec 14 10:40:36 2004 ++++ ndb/src/mgmclient/main.cpp Mon Jan 10 11:58:03 2005 +@@ -122,7 +122,7 @@ + } + #ifdef HAVE_READLINE + /* Get a line from the user. */ +- line_read = readline (prompt); ++ line_read = readline ((char *)prompt); + /* If the line has any text in it, save it on the history. */ + if (line_read && *line_read) + add_history (line_read);