diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1998-10-17 16:14:00 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1998-10-17 16:14:00 +0000 |
| commit | b7db722f78a25f347e02fea48b381ea7f87b9b1c (patch) | |
| tree | e832fa7d093f3951d48f5575e9116791541ad4bb | |
| parent | 1ec86adf6718c41701bd9b2a2bb3d9bedb94c9a8 (diff) | |
Notes
| -rw-r--r-- | contrib/sendmail/src/mci.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/sendmail/src/mci.c b/contrib/sendmail/src/mci.c index efb8cbad67a8..9e1e3b61c92b 100644 --- a/contrib/sendmail/src/mci.c +++ b/contrib/sendmail/src/mci.c @@ -428,7 +428,9 @@ mci_dump(mci, logit) sep = logit ? " " : "\n\t"; p = buf; - snprintf(p, SPACELEFT(buf, p), "MCI@%x: ", mci); + snprintf(p, SPACELEFT(buf, p), "MCI@%lx: ", + sizeof(void *) == sizeof(u_long) ? + (u_long)(void *)mci : (u_long)(u_int)(void *)mci); p += strlen(p); if (mci == NULL) { |
