Fix compiler warning about different signedness of pointers in editcmd.c