Fix potential memory corruption in checkODR().
diff --git a/slang_rs.h b/slang_rs.h
index 613de76..025861d 100644
--- a/slang_rs.h
+++ b/slang_rs.h
@@ -60,7 +60,9 @@
   bool generateBitcodeAccessor(const std::string &OutputPathBase,
                                const std::string &PackageName);
 
-  bool checkODR();
+  // CurInputFile is the pointer to a char array holding the input filename
+  // and is valid before compile() ends.
+  bool checkODR(const char *CurInputFile);
 
  protected:
   virtual void initDiagnostic();