use the propoper integer size with AMSG_ISSET

This commit is contained in:
Alexandre Ratchov 2014-02-08 09:46:13 +01:00
parent b50207563c
commit fa0cd74200
1 changed files with 3 additions and 1 deletions

View File

@ -616,7 +616,9 @@ sock_setpar(struct sock *f)
struct slot *s = f->slot;
struct dev *d = s->dev;
struct amsg_par *p = &f->rmsg.u.par;
unsigned int min, max, rate, pchan, rchan, appbufsz;
unsigned int min, max;
uint32_t rate, appbufsz;
uint16_t pchan, rchan;
rchan = ntohs(p->rchan);
pchan = ntohs(p->pchan);