stk500v2_recv(): Make length computation unsigned so

it cannot accidentally become negative.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@767 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Joerg Wunsch
2008-01-26 08:01:51 +00:00
parent e92c22e2a3
commit 853080dfeb
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.