mirror of
https://github.com/moparisthebest/pacman
synced 2025-03-01 01:41:52 -05:00
Fix warnings with strict-overflow in gcc-4.9
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
e5c714f501
commit
b2488eb356
@ -685,7 +685,8 @@ static int endswith(const char *filename, const char *extension)
|
||||
static int apply_deltas(alpm_handle_t *handle)
|
||||
{
|
||||
alpm_list_t *i;
|
||||
int deltas_found = 0, ret = 0;
|
||||
size_t deltas_found = 0;
|
||||
int ret = 0;
|
||||
const char *cachedir = _alpm_filecache_setup(handle);
|
||||
alpm_trans_t *trans = handle->trans;
|
||||
alpm_event_delta_patch_t event;
|
||||
|
@ -370,7 +370,7 @@ static int sync_group(int level, alpm_list_t *syncs, alpm_list_t *targets)
|
||||
int ret = 0;
|
||||
|
||||
if(targets) {
|
||||
int found;
|
||||
size_t found;
|
||||
for(i = targets; i; i = alpm_list_next(i)) {
|
||||
found = 0;
|
||||
const char *grpname = i->data;
|
||||
|
Loading…
x
Reference in New Issue
Block a user