diff options
| author | Karl Heuer | 1995-05-25 14:31:30 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-05-25 14:31:30 +0000 |
| commit | ea4d2909729d81fe9aa980dc38e0a325634f5e85 (patch) | |
| tree | ae682a2e002ae3d0929f58ebee05002a9c531e20 /src | |
| parent | cc04c6790508d629b2056746a631b7131f30b77a (diff) | |
| download | emacs-ea4d2909729d81fe9aa980dc38e0a325634f5e85.tar.gz emacs-ea4d2909729d81fe9aa980dc38e0a325634f5e85.zip | |
(format1): Cast arg of doprnt.
Diffstat (limited to 'src')
| -rw-r--r-- | src/editfns.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/editfns.c b/src/editfns.c index d61b74422ec..50cf607707d 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -1917,9 +1917,9 @@ format1 (string1) | |||
| 1917 | args[2] = arg2; | 1917 | args[2] = arg2; |
| 1918 | args[3] = arg3; | 1918 | args[3] = arg3; |
| 1919 | args[4] = arg4; | 1919 | args[4] = arg4; |
| 1920 | doprnt (buf, sizeof buf, string1, 0, 5, args); | 1920 | doprnt (buf, sizeof buf, string1, (char *)0, 5, args); |
| 1921 | #else | 1921 | #else |
| 1922 | doprnt (buf, sizeof buf, string1, 0, 5, &string1 + 1); | 1922 | doprnt (buf, sizeof buf, string1, (char *)0, 5, &string1 + 1); |
| 1923 | #endif | 1923 | #endif |
| 1924 | return build_string (buf); | 1924 | return build_string (buf); |
| 1925 | } | 1925 | } |