Skip to content

Commit

Permalink
Fix compiler warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco van Wieringen committed Apr 27, 2016
1 parent 0db63f9 commit 4ad56f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/dird/ndmp_fhdb_lmdb.c
Expand Up @@ -439,7 +439,7 @@ void ndmp_fhdb_lmdb_register(struct ndmlog *ixlog)

if (nis->save_filehist) {
int result;
size_t mapsize = 10485760;
ssize_t mapsize = 10485760;
NIS *nis = (NIS *)ixlog->ctx;
struct fhdb_state *fhdb_state;

Expand Down
2 changes: 1 addition & 1 deletion src/stored/backends/gfapi_device.c
Expand Up @@ -140,7 +140,7 @@ static inline bool parse_gfapi_devicename(char *devicename,
/*
* Validate URI.
*/
if (!bp || !*bp == '/') {
if (!bp || !(*bp == '/')) {
goto bail_out;
}

Expand Down

0 comments on commit 4ad56f5

Please sign in to comment.