diff options
author | jbj <devnull@localhost> | 2003-04-29 08:15:16 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2003-04-29 08:15:16 +0000 |
commit | a94207342d80a5ca6fc19e05de95ec346c937ccb (patch) | |
tree | 92edb18630a83bb403cd27c8dba2d580e218ccf1 /beecrypt/mtprng.c | |
parent | d4538f2d0da92317bbfeb37b1c7513350763b0f4 (diff) | |
download | librpm-tizen-a94207342d80a5ca6fc19e05de95ec346c937ccb.tar.gz librpm-tizen-a94207342d80a5ca6fc19e05de95ec346c937ccb.tar.bz2 librpm-tizen-a94207342d80a5ca6fc19e05de95ec346c937ccb.zip |
beecrypt-3.0.0 merge: splint checks.
CVS patchset: 6787
CVS date: 2003/04/29 08:15:16
Diffstat (limited to 'beecrypt/mtprng.c')
-rw-r--r-- | beecrypt/mtprng.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/beecrypt/mtprng.c b/beecrypt/mtprng.c index 7e19280ee..aa3ef18ab 100644 --- a/beecrypt/mtprng.c +++ b/beecrypt/mtprng.c @@ -101,11 +101,11 @@ int mtprngSetup(mtprngParam* mp) return -1; } -int mtprngSeed(mtprngParam* mp, const uint32_t* data, int size) +int mtprngSeed(mtprngParam* mp, const uint32_t* data, size_t size) { if (mp) { - int needed = N+1; + size_t needed = N+1; uint32_t* dest = mp->state; #ifdef _REENTRANT @@ -152,7 +152,7 @@ int mtprngSeed(mtprngParam* mp, const uint32_t* data, int size) return -1; } -int mtprngNext(mtprngParam* mp, uint32_t* data, int size) +int mtprngNext(mtprngParam* mp, uint32_t* data, size_t size) { if (mp) { |