projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f92e55
)
More char ptr signedness fixes..
author
Panu Matilainen
<pmatilai@redhat.com>
Wed, 11 Jul 2007 10:00:45 +0000
(13:00 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Wed, 11 Jul 2007 10:00:45 +0000
(13:00 +0300)
rpmdb/sqlite.c
patch
|
blob
|
history
diff --git
a/rpmdb/sqlite.c
b/rpmdb/sqlite.c
index
8f12508
..
831ba9a
100644
(file)
--- a/
rpmdb/sqlite.c
+++ b/
rpmdb/sqlite.c
@@
-425,7
+425,7
@@
assert(dbiByteSwapped(dbi) == 0); /* Byte swap?! */
}
} else
if (!strcmp(vtype, "text")) {
- const char * v = sqlite3_column_text(scp->pStmt, i);
+ const char * v =
(const char *)
sqlite3_column_text(scp->pStmt, i);
nb = strlen(v) + 1;
if (_debug)
fprintf(stderr, "\t%d %s %s \"%s\"\n", i, cname, vtype, v);