]> git.donarmstrong.com Git - mothur.git/blobdiff - mothur.h
fixed bugs for 1.8
[mothur.git] / mothur.h
index fdaa06362db6ecda7054fe4ff9b21442487c19d4..74d71caed4df23c2472b7b9b8c229e315721a424 100644 (file)
--- a/mothur.h
+++ b/mothur.h
@@ -639,7 +639,7 @@ inline int renameFile(string oldName, string newName){
        system(command.c_str());
 #else
        remove(newName.c_str());
-       renameOk = rename(oldName.c_str(), newName.c_str());
+       int renameOk = rename(oldName.c_str(), newName.c_str());
 #endif
        return 0;
 }