New380 / cubesat-space-protocol

Automatically exported from code.google.com/p/cubesat-space-protocol
0 stars 0 forks source link

Compiler warning. Comparsion of signed and unsigned #32

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
avr-gcc gives compiler warning when compiling rev 361

src/transport/csp_rdp.c: In function ‘csp_rdp_check_ack’:
src/transport/csp_rdp.c:472: error: comparison between signed and unsigned

csp_queue_size returns an unsigned integer while conn->rdp.window_size is an 
unsigned integer.

Casting the call to csp_queue_size to an unsigned eliminates the warning

Original issue reported on code.google.com by knorr.je...@gmail.com on 20 Aug 2011 at 1:58

GoogleCodeExporter commented 9 years ago
This was fixed in r363. Thank you for reporting the issue.

Original comment by j...@satlab.org on 30 Sep 2011 at 11:24