Created
June 15, 2017 18:16
-
-
Save aprieger-llnw/84fc35f2fb992bb96da5e8bb88f03086 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/init_creds_pw.c:314:14: warning: taking the absolute value of unsigned type 'LR_TYPE' (aka 'enum LR_TYPE') has no effect [-Wabsolute-value] | |
switch (abs(lr->val[i].lr_type)) { | |
^ | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/init_creds_pw.c:314:14: note: remove the call to 'abs' since unsigned values cannot be negative | |
switch (abs(lr->val[i].lr_type)) { | |
^~~ | |
1 warning generated. | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/rd_cred.c:225:6: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] | |
abs(*enc_krb_cred_part.timestamp - sec) | |
^ | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/rd_cred.c:225:6: note: use function 'labs' instead | |
abs(*enc_krb_cred_part.timestamp - sec) | |
^~~ | |
labs | |
1 warning generated. | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/rd_priv.c:139:6: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] | |
abs(*part.timestamp - sec) > context->max_skew) { | |
^ | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/rd_priv.c:139:6: note: use function 'labs' instead | |
abs(*part.timestamp - sec) > context->max_skew) { | |
^~~ | |
labs | |
1 warning generated. | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/rd_req.c:444:6: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] | |
if (abs(ac->authenticator->ctime - now) > context->max_skew) { | |
^ | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/rd_req.c:444:6: note: use function 'labs' instead | |
if (abs(ac->authenticator->ctime - now) > context->max_skew) { | |
^~~ | |
labs | |
1 warning generated. | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/rd_safe.c:162:6: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] | |
abs(*safe.safe_body.timestamp - sec) > context->max_skew) { | |
^ | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/rd_safe.c:162:6: note: use function 'labs' instead | |
abs(*safe.safe_body.timestamp - sec) > context->max_skew) { | |
^~~ | |
labs | |
1 warning generated. | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/ticket.c:779:5: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] | |
&& abs(tmp_time - sec_now) > context->max_skew) { | |
^ | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/ticket.c:779:5: note: use function 'labs' instead | |
&& abs(tmp_time - sec_now) > context->max_skew) { | |
^~~ | |
labs | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/ticket.c:783:11: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] | |
abs(tmp_time - sec_now), | |
^ | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/ticket.c:783:11: note: use function 'labs' instead | |
abs(tmp_time - sec_now), | |
^~~ | |
labs | |
2 warnings generated. | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/init_creds_pw.c:314:14: warning: taking the absolute value of unsigned type 'LR_TYPE' (aka 'enum LR_TYPE') has no effect [-Wabsolute-value] | |
switch (abs(lr->val[i].lr_type)) { | |
^ | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/init_creds_pw.c:314:14: note: remove the call to 'abs' since unsigned values cannot be negative | |
switch (abs(lr->val[i].lr_type)) { | |
^~~ | |
1 warning generated. | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/rd_cred.c:225:6: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] | |
abs(*enc_krb_cred_part.timestamp - sec) | |
^ | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/rd_cred.c:225:6: note: use function 'labs' instead | |
abs(*enc_krb_cred_part.timestamp - sec) | |
^~~ | |
labs | |
1 warning generated. | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/rd_priv.c:139:6: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] | |
abs(*part.timestamp - sec) > context->max_skew) { | |
^ | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/rd_priv.c:139:6: note: use function 'labs' instead | |
abs(*part.timestamp - sec) > context->max_skew) { | |
^~~ | |
labs | |
1 warning generated. | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/rd_req.c:444:6: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] | |
if (abs(ac->authenticator->ctime - now) > context->max_skew) { | |
^ | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/rd_req.c:444:6: note: use function 'labs' instead | |
if (abs(ac->authenticator->ctime - now) > context->max_skew) { | |
^~~ | |
labs | |
1 warning generated. | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/rd_safe.c:162:6: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] | |
abs(*safe.safe_body.timestamp - sec) > context->max_skew) { | |
^ | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/rd_safe.c:162:6: note: use function 'labs' instead | |
abs(*safe.safe_body.timestamp - sec) > context->max_skew) { | |
^~~ | |
labs | |
1 warning generated. | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/ticket.c:779:5: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] | |
&& abs(tmp_time - sec_now) > context->max_skew) { | |
^ | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/ticket.c:779:5: note: use function 'labs' instead | |
&& abs(tmp_time - sec_now) > context->max_skew) { | |
^~~ | |
labs | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/ticket.c:783:11: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] | |
abs(tmp_time - sec_now), | |
^ | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/ticket.c:783:11: note: use function 'labs' instead | |
abs(tmp_time - sec_now), | |
^~~ | |
labs | |
2 warnings generated. | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/init_creds_pw.c:314:14: warning: taking the absolute value of unsigned type 'LR_TYPE' (aka 'enum LR_TYPE') has no effect [-Wabsolute-value] | |
switch (abs(lr->val[i].lr_type)) { | |
^ | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/init_creds_pw.c:314:14: note: remove the call to 'abs' since unsigned values cannot be negative | |
switch (abs(lr->val[i].lr_type)) { | |
^~~ | |
1 warning generated. | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/rd_cred.c:225:6: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] | |
abs(*enc_krb_cred_part.timestamp - sec) | |
^ | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/rd_cred.c:225:6: note: use function 'labs' instead | |
abs(*enc_krb_cred_part.timestamp - sec) | |
^~~ | |
labs | |
1 warning generated. | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/rd_priv.c:139:6: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] | |
abs(*part.timestamp - sec) > context->max_skew) { | |
^ | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/rd_priv.c:139:6: note: use function 'labs' instead | |
abs(*part.timestamp - sec) > context->max_skew) { | |
^~~ | |
labs | |
1 warning generated. | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/rd_req.c:444:6: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] | |
if (abs(ac->authenticator->ctime - now) > context->max_skew) { | |
^ | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/rd_req.c:444:6: note: use function 'labs' instead | |
if (abs(ac->authenticator->ctime - now) > context->max_skew) { | |
^~~ | |
labs | |
1 warning generated. | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/rd_safe.c:162:6: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] | |
abs(*safe.safe_body.timestamp - sec) > context->max_skew) { | |
^ | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/rd_safe.c:162:6: note: use function 'labs' instead | |
abs(*safe.safe_body.timestamp - sec) > context->max_skew) { | |
^~~ | |
labs | |
1 warning generated. | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/ticket.c:779:5: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] | |
&& abs(tmp_time - sec_now) > context->max_skew) { | |
^ | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/ticket.c:779:5: note: use function 'labs' instead | |
&& abs(tmp_time - sec_now) > context->max_skew) { | |
^~~ | |
labs | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/ticket.c:783:11: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] | |
abs(tmp_time - sec_now), | |
^ | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/lib/krb5/ticket.c:783:11: note: use function 'labs' instead | |
abs(tmp_time - sec_now), | |
^~~ | |
labs | |
2 warnings generated. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment