diff --git a/src/pkgdb.c b/src/pkgdb.c index 51e4ea4..5a521ef 100644 --- a/src/pkgdb.c +++ b/src/pkgdb.c @@ -651,6 +651,8 @@ static gint _parse_size(const char* str, guint* size) *size = (guint)v; else if (strchr(str, 'M')) *size = (guint)(v * 1024); + else if (strchr(str, 'G')) + *size = (guint)(v * 1024 * 1024); else return 0;