X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Futils.c;h=3ac1b60926d20014808dcaf708d59f6adb33ee1a;hb=1cadc16803b43f7841f5e67aaa7bc12a7b59fdd9;hp=29bf970905d58ffdcba9fe68cc7c62526fc9430e;hpb=906814431bddeb2061825fa1ebad1a967b6d87a9;p=ppp.git diff --git a/pppd/utils.c b/pppd/utils.c index 29bf970..3ac1b60 100644 --- a/pppd/utils.c +++ b/pppd/utils.c @@ -625,7 +625,7 @@ print_string(p, len, printer, arg) printer(arg, "\\t"); break; default: - printer(arg, "\\%.3o", c); + printer(arg, "\\%.3o", (unsigned char) c); } } }