aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ebrowse.c2
-rw-r--r--lib-src/hexl.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib-src/ebrowse.c b/lib-src/ebrowse.c
index d16c9ae54af..5c1e9d99bb8 100644
--- a/lib-src/ebrowse.c
+++ b/lib-src/ebrowse.c
@@ -1241,7 +1241,7 @@ dump_sym (FILE *fp, struct sym *root)
1241 putstr (NULL, fp); 1241 putstr (NULL, fp);
1242 1242
1243 /* Print flags. */ 1243 /* Print flags. */
1244 fprintf (fp, "%u", root->flags); 1244 fprintf (fp, "%d", root->flags);
1245 putstr (root->filename, fp); 1245 putstr (root->filename, fp);
1246 putstr (root->regexp, fp); 1246 putstr (root->regexp, fp);
1247 fprintf (fp, "%u", (unsigned) root->pos); 1247 fprintf (fp, "%u", (unsigned) root->pos);
diff --git a/lib-src/hexl.c b/lib-src/hexl.c
index 490f72731b4..ac493c2740c 100644
--- a/lib-src/hexl.c
+++ b/lib-src/hexl.c
@@ -216,7 +216,7 @@ main (int argc, char **argv)
216 else 216 else
217 { 217 {
218 if (!i) 218 if (!i)
219 printf ("%08lx: ", address); 219 printf ("%08lx: ", address + 0ul);
220 220
221 if (iso_flag) 221 if (iso_flag)
222 string[i+1] = 222 string[i+1] =
@@ -224,7 +224,7 @@ main (int argc, char **argv)
224 else 224 else
225 string[i+1] = (c < 0x20 || c >= 0x7F) ? '.' : c; 225 string[i+1] = (c < 0x20 || c >= 0x7F) ? '.' : c;
226 226
227 printf ("%02x", c); 227 printf ("%02x", c + 0u);
228 } 228 }
229 229
230 if ((i&group_by) == group_by) 230 if ((i&group_by) == group_by)