help coverity with max size issue on unsigned addition

This commit is contained in:
toddouska 2014-05-02 11:06:59 -07:00
parent 4104b74c40
commit 697f77bef5
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ void s_fp_add(fp_int *a, fp_int *b, fp_int *c)
register fp_word t;
y = MAX(a->used, b->used);
oldused = c->used;
oldused = MAX(c->used, FP_SIZE); /* help static analysis w/ max size */
c->used = y;
t = 0;