Minor changes to avoid compiler warnings

This commit is contained in:
MarkRivers
2012-12-06 22:17:36 +00:00
parent 69bce3c825
commit 8b0ccc205f
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -161,7 +161,7 @@ STATIC RTN_STATUS PM500_build_trans(motor_cmnd command, double *parms, struct mo
char axis_name;
char buff[110];
int axis, card, maxdigits;
unsigned int size;
size_t size;
double dval, cntrl_units;
RTN_STATUS rtnval;
+2 -2
View File
@@ -355,7 +355,7 @@ exit:
static RTN_STATUS send_mess(int card, char const *com, char *name)
{
struct MMcontroller *cntrl;
int size;
size_t size;
size_t nwrite;
size = strlen(com);
@@ -437,7 +437,7 @@ static int recv_mess(int card, char *com, int flag)
}
Debug(2, "recv_mess(): message = \"%s\"\n", com);
return(nread);
return((int)nread);
}