Fix most compiler warnings and fix for OSX.

This commit is contained in:
Zach Langley 2014-11-07 20:13:36 -08:00
parent a61c2c6c60
commit eadcd45b6e
6 changed files with 15 additions and 8 deletions

View file

@ -207,7 +207,7 @@ static void hedit_disp_menu(struct descriptor_data *d)
void hedit_parse(struct descriptor_data *d, char *arg)
{
char buf[MAX_STRING_LENGTH];
char *oldtext = '\0';
char *oldtext = "";
int number;
switch (OLC_MODE(d)) {