summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRikard Falkeborn <rikard.falkeborn@gmail.com>2020-04-24 23:43:58 +0200
committerAllan McRae <allan@archlinux.org>2020-04-29 05:57:45 +0200
commit24392223752480b9088321ad0f914118d0346e55 (patch)
tree80890728bbe771c5205a64ec20dd1ee8bfe3cecd /src
parent3ea7fdd96c874e111588a6e64ee30b75b55db785 (diff)
downloadpacman-24392223752480b9088321ad0f914118d0346e55.tar.gz
pacman-24392223752480b9088321ad0f914118d0346e55.tar.xz
Constify some input pointers
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r--src/pacman/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/util.c b/src/pacman/util.c
index 6693ec75..97b8e06d 100644
--- a/src/pacman/util.c
+++ b/src/pacman/util.c
@@ -515,7 +515,7 @@ void string_display(const char *title, const char *string, unsigned short cols)
}
static void table_print_line(const alpm_list_t *line, short col_padding,
- size_t colcount, size_t *widths, int *has_data)
+ size_t colcount, const size_t *widths, const int *has_data)
{
size_t i;
int need_padding = 0;