File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 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){
2323 free (tmp);
2424}
2525
26- bool MD5Builder::addStream (Stream & stream, const int total_len) {
26+ bool MD5Builder::addStream (Stream & stream, const size_t total_len) {
2727 const int buf_size = 512 ;
2828 int bytesleft = total_len;
2929 uint8_t * buf = (uint8_t *) malloc (buf_size);
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ class MD5Builder {
3737 void addHexString (const char * data);
3838 void addHexString (char * data){ addHexString ((const char *)data); }
3939 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 );
4141 void calculate (void );
4242 void getBytes (uint8_t * output);
4343 void getChars (char * output);
You can’t perform that action at this time.
0 commit comments