* reflection.c (inflate_mono_method): Reuse method instantiation
[mono.git] / mono / metadata / debug-mono-symfile.c
index 0cdb5ffcd9a680858d02c2c5c67c830d1143e146..6d703a57168f698a19bdb0e5905a209b27d18764 100644 (file)
@@ -120,7 +120,7 @@ mono_debug_open_mono_symbols (MonoDebugHandle *handle, const guint8 *raw_content
        } else {
                symfile->filename = g_strdup_printf ("%s.mdb", mono_image_get_filename (handle->image));
 
-               if ((f = fopen (symfile->filename, "rb")) > 0) {
+               if ((f = fopen (symfile->filename, "rb"))) {
                        struct stat stat_buf;
                        
                        if (fstat (fileno (f), &stat_buf) < 0) {