Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
silly people: unsigned char != char
Eitan committed 15 years ago
commit 14d9efe24ba1c7f2054eda2af0ade9afa305c8d1
parent 118fd5f
1 file changed +2 -2
modified libpkg/pkgdb.c
@@ -40,8 +40,8 @@ pkgdb_regex_delete(void *p)
static void
pkgdb_regex(sqlite3_context *ctx, int argc, sqlite3_value **argv, int reg_type)
{
-
	const char *regex = NULL;
-
	const char *str;
+
	const unsigned char *regex = NULL;
+
	const unsigned char *str;
	regex_t *re;
	int ret;