trivial compile fix



Hi,

mc from CVS fails to compile complainig on type incompatability in 
command.[ch], declaration of command_insert ()

diff: 

--- mc/src/command.h.orig       2004-08-18 12:23:20 +0400
+++ mc/src/command.h    2004-08-18 12:23:53 +0400
@@ -5,6 +5,6 @@

 WInput *command_new (int y, int x, int len);
 void do_cd_command (char *cmd);
-void command_insert (WInput * in, char *text, int insert_extra_space);
+void command_insert (WInput * in, const char *text, int 
insert_extra_space);

 #endif /* __COMMAND_H */

WBR
Dmitry




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]