This method takes sys::Path objects now.
[oota-llvm.git] / utils / fpcmp / fpcmp.cpp
index d7808dd6f006cb3663534da76a0b366af53b1fcf..cdaf95de61e99db5d1b5ca4f8eac287a7fd15822 100644 (file)
@@ -33,8 +33,8 @@ int main(int argc, char **argv) {
   cl::ParseCommandLineOptions(argc, argv);
 
   std::string ErrorMsg;
-  int DF = DiffFilesWithTolerance(File1, File2, AbsTolerance, RelTolerance,
-                                  &ErrorMsg);
+  int DF = DiffFilesWithTolerance(sys::Path(File1), sys::Path(File2),
+                                  AbsTolerance, RelTolerance, &ErrorMsg);
   if (!ErrorMsg.empty())
     std::cerr << argv[0] << ": " << ErrorMsg << "\n";
   return DF;