Relax memory requirements on 64bit platforms; fix two memleaks.

This commit is contained in:
Juan RP
2013-06-12 10:04:10 +02:00
parent 6a9e394a60
commit db1efb3aa6
33 changed files with 83 additions and 74 deletions

View File

@ -35,7 +35,7 @@
#include <xbps_api.h>
#include "defs.h"
size_t
int
get_maxcols(void)
{
struct winsize ws;
@ -47,9 +47,9 @@ get_maxcols(void)
}
void
print_package_line(const char *str, size_t maxcols, bool reset)
print_package_line(const char *str, int maxcols, bool reset)
{
static size_t cols;
static int cols;
static bool first;
if (reset) {