[main] replace computed value by a constant
[mono.git] / mono / mini / main.c
index 276f7952fba6624a64c7ac93449080c14aa9876f..241e6f57e59772d39287fe0b22cb5c2326ce0925 100644 (file)
@@ -52,7 +52,7 @@ probe_embedded (const char *program, int *ref_argc, char **ref_argv [])
        int fd = open (program, O_RDONLY);
        if (fd == -1)
                return FALSE;
-       if ((sigstart = lseek (fd, -(16+sizeof(uint64_t)), SEEK_END)) == -1)
+       if ((sigstart = lseek (fd, -24, SEEK_END)) == -1)
                goto doclose;
        if (read (fd, sigbuffer, sizeof (sigbuffer)) == -1)
                goto doclose;