From d6d7435a6c687c8599b9b5ebe54cccd067795cf0 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 29 Mar 2007 00:57:04 -0400 Subject: Fix a 0 and '/0' switch It looks like someone accidentally put a 0 instead of '/0', this fixes it. Signed-off-by: Dan McGee --- lib/libalpm/package.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libalpm') 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'; } } -- cgit v1.2.3-70-g09d2