Tidy up SuperH port a bit ready for release.

This commit is contained in:
Richard Barry 2010-02-18 13:23:00 +00:00
parent e35180acd9
commit 450e344455
3 changed files with 30 additions and 21 deletions

View file

@ -187,7 +187,7 @@ PT_THREAD(psock_send(register struct psock *s, const char *buf,
/* Save the length of and a pointer to the data that is to be
sent. */
s->sendptr = (unsigned char*)buf;
s->sendlen = len;
s->sendlen = (unsigned short)len;
s->state = STATE_NONE;