Refinement alongside Digital

r1198 | dcl | 2006-10-26 18:38:13 +1000 (Thu, 26 Oct 2006) | 2 lines
This commit is contained in:
Douglas Clowes
2006-10-26 18:38:13 +10:00
parent 7e43aa3e16
commit 7dfa37057b
6 changed files with 75 additions and 109 deletions

View File

@@ -56,7 +56,7 @@ static struct param_command_t {
{CMD_SOURCE, TXT_SOURCE},
{0, NULL}
};
#define NUM_CMDS ((int) (sizeof(param_command)/sizeof(param_command[0])))
#define NUM_CMDS ((int) ((sizeof(param_command)/sizeof(param_command[0]))))
static int name_to_command(char* name)
{