X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/8b990b89011d5b954c794e08549776b15e34fff1..5bc3263303bde93db32b0799ecee0cfa9fe40e9a:/lib-src/hexl.c diff --git a/lib-src/hexl.c b/lib-src/hexl.c index 490f72731b..9a5ca7e154 100644 --- a/lib-src/hexl.c +++ b/lib-src/hexl.c @@ -1,15 +1,14 @@ /* Convert files for Emacs Hexl mode. - Copyright (C) 1989, 2001-2015 Free Software Foundation, Inc. + Copyright (C) 1989, 2001-2016 Free Software Foundation, Inc. -Author: Keith Gabryelski -(according to authors.el) +Author: Keith Gabryelski (according to authors.el) This file is not considered part of GNU Emacs. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. +the Free Software Foundation, either version 3 of the License, or (at +your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -216,7 +215,7 @@ main (int argc, char **argv) else { if (!i) - printf ("%08lx: ", address); + printf ("%08lx: ", address + 0ul); if (iso_flag) string[i+1] = @@ -224,7 +223,7 @@ main (int argc, char **argv) else string[i+1] = (c < 0x20 || c >= 0x7F) ? '.' : c; - printf ("%02x", c); + printf ("%02x", c + 0u); } if ((i&group_by) == group_by)