Fix compile warnings.
This commit is contained in:
parent
3a92732ccc
commit
ec62afa06e
2 changed files with 2 additions and 1 deletions
|
@ -124,7 +124,7 @@ void MD5::update(FILE *file){
|
|||
unsigned char buffer[1024];
|
||||
int len;
|
||||
|
||||
while (len=fread(buffer, 1, 1024, file))
|
||||
while ((len=fread(buffer, 1, 1024, file)))
|
||||
update(buffer, len);
|
||||
|
||||
fclose (file);
|
||||
|
|
|
@ -28,6 +28,7 @@ class user_handler {
|
|||
// implementations
|
||||
|
||||
public:
|
||||
virtual ~user_handler();
|
||||
|
||||
//! Adds a user.
|
||||
//! Throws an error containing the error message if adding fails
|
||||
|
|
Loading…
Add table
Reference in a new issue