stk500v2_recv(): Make length computation unsigned so

it cannot accidentally become negative.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@767 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
joerg_wunsch
2008-01-26 08:01:51 +00:00
parent 68a527ade6
commit a2b4d753da
2 changed files with 11 additions and 6 deletions

View File

@@ -0,0 +1,5 @@
2008-01-26 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
* stk500v2.c (stk500v2_recv): Make length computation unsigned so
it cannot accidentally become negative.