]> git.pld-linux.org Git - packages/poldek.git/blobdiff - poldek-git.patch
- rel 3; missing fix for types in tndb_get_all
[packages/poldek.git] / poldek-git.patch
index f579c7ab59f636649ccdb68127284de261ff734a..ca4527aacf6483b78171a82f9926652532d1147b 100644 (file)
@@ -40,3 +40,23 @@ index 5846888..17347e5 100644
  proto = http,ftp,https
  cmd   = aria2c --log-level=info --summary-interval=0 --truncate-console-readout=true -c -k1M -j5 -s5 -x5 -Z -P -d %d %Pn
  
+commit f18bedfa368995550e231f382718029bdc2300df
+Author: Marcin Banasiak <marcin.banasiak@gmail.com>
+Date:   Sun Feb 19 16:55:35 2012 +0100
+
+    Fix types in tndb_get_all
+
+diff --git a/tndb/read.c b/tndb/read.c
+index b57bb50..d560799 100644
+--- a/tndb/read.c
++++ b/tndb/read.c
+@@ -497,7 +497,8 @@ size_t tndb_get_all(struct tndb *db, const void *key, size_t klen,
+                   void **val)
+ {
+     off_t  voffs;
+-    size_t nread = 0, vlen;
++    size_t nread = 0;
++    unsigned int vlen;
+     
+     if (tndb_get_voff(db, key, klen, &voffs, &vlen)) {
+       *val = n_malloc(vlen + 1); /* extra byte for \0 */
This page took 0.113552 seconds and 4 git commands to generate.