Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libalpm/package.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c
index d1bbcda3..35a76591 100644
--- a/lib/libalpm/package.c
+++ b/lib/libalpm/package.c
@@ -510,7 +510,7 @@ int _alpm_pkg_splitname(const char *target, char *name, char *version, int witha
if(witharch) {
/* trim architecture */
if((p = alpm_pkg_name_hasarch(tmp))) {
- *p = 0;
+ *p = '\0';
}
}