diff options
| author | Paul Eggert | 2011-04-10 09:44:27 -0700 |
|---|---|---|
| committer | Paul Eggert | 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 emacs-b2ded58d7e0eb75f00071036d1c07bbd55313b60.zip | |
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
| @@ -154,7 +154,7 @@ get_doc_string (Lisp_Object filepos, int unibyte, int definition) | |||
| 154 | if (0 > lseek (fd, position - offset, 0)) | 154 | if (0 > lseek (fd, position - offset, 0)) |
| 155 | { | 155 | { |
| 156 | emacs_close (fd); | 156 | emacs_close (fd); |
| 157 | error ("Position %ld out of range in doc string file \"%s\"", | 157 | error ("Position %"pEd" out of range in doc string file \"%s\"", |
| 158 | position, name); | 158 | position, name); |
| 159 | } | 159 | } |
| 160 | 160 | ||
| @@ -669,7 +669,7 @@ the same file name is found in the `doc-directory'. */) | |||
| 669 | ; /* Just a source file name boundary marker. Ignore it. */ | 669 | ; /* Just a source file name boundary marker. Ignore it. */ |
| 670 | 670 | ||
| 671 | else | 671 | else |
| 672 | error ("DOC file invalid at position %d", pos); | 672 | error ("DOC file invalid at position %"pEd, pos); |
| 673 | } | 673 | } |
| 674 | } | 674 | } |
| 675 | pos += end - buf; | 675 | pos += end - buf; |