File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ void MD5Builder::addHexString(const char * data){
23
23
free (tmp);
24
24
}
25
25
26
- bool MD5Builder::addStream (Stream & stream, const int total_len) {
26
+ bool MD5Builder::addStream (Stream & stream, const size_t total_len) {
27
27
const int buf_size = 512 ;
28
28
int bytesleft = total_len;
29
29
uint8_t * buf = (uint8_t *) malloc (buf_size);
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ class MD5Builder {
37
37
void addHexString (const char * data);
38
38
void addHexString (char * data){ addHexString ((const char *)data); }
39
39
void addHexString (String data){ addHexString (data.c_str ()); }
40
- bool addStream (Stream & stream, int len );
40
+ bool addStream (Stream & stream, const size_t total_len );
41
41
void calculate (void );
42
42
void getBytes (uint8_t * output);
43
43
void getChars (char * output);
You can’t perform that action at this time.
0 commit comments