10 Mar
2009
10 Mar
'09
11:37 p.m.
John Center wrote:
Hi Alan,
Compiling for 64-bit Solaris 10 (SPARC) using Sun Studio 12, see the following warnings (with appropriate lines):
"ttls.c", line 78: warning: integer overflow detected: op "<<" if ((length & (1 << 31)) != 0) {
Hmm... un-typed numbers are "int", but that should still work.
"client.c", line 206: warning: initializer does not fit or is out of range: -1 uint32_t mask = ~0;
Dumb compiler. It should Just Do the Right Thing.
"mainconfig.c", line 167: warning: initializer does not fit or is out of range: -1 { "file", PW_TYPE_STRING_PTR, -1, &mainconfig.log_file, "${logdir}/radius.log" },
That can be ignored. It's nothing to be concerned about. Alan DeKok.