diff options
author | lloyd <[email protected]> | 2014-01-07 12:25:09 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2014-01-07 12:25:09 +0000 |
commit | 14ea6e48d1ed916b2e36a16eb44862a89fb1fd3c (patch) | |
tree | d3463b3426c06196b684eea5c49d65fd81d951b4 /src/tests/nist_x509.cpp | |
parent | 83f69bcad312352b9d20fbfda183ddba62ed861e (diff) |
Fix warnings
Diffstat (limited to 'src/tests/nist_x509.cpp')
-rw-r--r-- | src/tests/nist_x509.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/nist_x509.cpp b/src/tests/nist_x509.cpp index 4f75c9f88..ce2a587f7 100644 --- a/src/tests/nist_x509.cpp +++ b/src/tests/nist_x509.cpp @@ -193,7 +193,7 @@ std::vector<std::string> dir_listing(const std::string& dir_name) { struct dirent* dir_ent = readdir(dir); - if(dir_ent == 0) + if(!dir_ent) break; const std::string entry = dir_ent->d_name; if(entry == "." || entry == "..") |