diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-04-10 09:44:27 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-04-10 09:44:27 -0700 |
commit | b2ded58d7e0eb75f00071036d1c07bbd55313b60 (patch) | |
tree | 5546bb6d7214033a83d13ce87a15f65595f6ae74 /src/doc.c | |
parent | 37f1c9309eb0e6b3bc3dda1ffa7f99410c22355d (diff) | |
parent | 12020a9e6dcfc2213e8bbb0fec259c1ed1202f30 (diff) | |
download | emacs-b2ded58d7e0eb75f00071036d1c07bbd55313b60.tar.gz |
Fix more problems found by GCC 4.6.0's static checks.
Diffstat (limited to 'src/doc.c')
-rw-r--r-- | src/doc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc.c b/src/doc.c index 158b09790f7..ed0d2323ed5 100644 --- a/src/doc.c +++ b/src/doc.c @@ -154,7 +154,7 @@ get_doc_string (Lisp_Object filepos, int unibyte, int definition) if (0 > lseek (fd, position - offset, 0)) { emacs_close (fd); - error ("Position %ld out of range in doc string file \"%s\"", + error ("Position %"pEd" out of range in doc string file \"%s\"", position, name); } @@ -669,7 +669,7 @@ the same file name is found in the `doc-directory'. */) ; /* Just a source file name boundary marker. Ignore it. */ else - error ("DOC file invalid at position %d", pos); + error ("DOC file invalid at position %"pEd, pos); } } pos += end - buf; |