diff options
Diffstat (limited to 'qarsh_packet.c')
-rw-r--r-- | qarsh_packet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qarsh_packet.c b/qarsh_packet.c index 84dc0c3..1f170f6 100644 --- a/qarsh_packet.c +++ b/qarsh_packet.c @@ -300,7 +300,7 @@ parse_qp_runcmd(char *buf, int *buflen, struct qa_packet *qp) void parse_qp_ack(char *buf, int *buflen, struct qa_packet *qp) { - buf = fetch_int(buf, buflen, (int *)&(qp->qp_ack.qp_ack_type)); + buf = fetch_uint8(buf, buflen, (int *)&(qp->qp_ack.qp_ack_type)); buf = fetch_int(buf, buflen, &(qp->qp_ack.qp_ack_seq)); } @@ -468,7 +468,7 @@ store_qp_runcmd(char *buf, struct qa_packet *qp) char * store_qp_ack(char *buf, struct qa_packet *qp) { - buf = store_int(buf, qp->qp_ack.qp_ack_type); + buf = store_uint8(buf, qp->qp_ack.qp_ack_type); buf = store_int(buf, qp->qp_ack.qp_ack_seq); return buf; } |