diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-07-20 13:02:47 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-07-20 13:02:47 +0000 |
commit | 29075c97d3b7111e2565ede1cd0f000fd2534375 (patch) | |
tree | 683ef138ee8a4ddd5cf078222ca433fc808d6423 /source3/printing/print_svid.c | |
parent | 9175bd2fe79684066a08e09860cf3a0bdb02d5c5 (diff) | |
download | samba-29075c97d3b7111e2565ede1cd0f000fd2534375.tar.gz samba-29075c97d3b7111e2565ede1cd0f000fd2534375.tar.bz2 samba-29075c97d3b7111e2565ede1cd0f000fd2534375.zip |
More fixes towards warnings on the IRIX compiler
(and yes, some of these are real bugs)
In particular, the samr code was doing an &foo of various types, to a function
that assumed uint32. If time_t isn't 32 bits long, that broke.
They are assignment compatible however, so use that and an intermediate
variable.
Andrew Bartlett
(This used to be commit 30d0998c8c1a1d4de38ef0fbc83c2b763e05a3e6)
Diffstat (limited to 'source3/printing/print_svid.c')
-rw-r--r-- | source3/printing/print_svid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/print_svid.c b/source3/printing/print_svid.c index 44127c3700..837a2fba48 100644 --- a/source3/printing/print_svid.c +++ b/source3/printing/print_svid.c @@ -126,7 +126,7 @@ void sysv_printer_fn(void (*fn)(char *, char *)) * provide the equivalent of pcap_printername_ok() for SVID/XPG4 conforming * systems. */ -int sysv_printername_ok(char *name) +int sysv_printername_ok(const char *name) { printer_t *tmp; |