File types-fix.patch of Package ushare

---
 src/cds.c  |    2 +-
 src/http.c |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

--- a/src/cds.c
+++ b/src/cds.c
@@ -268,7 +268,7 @@ didl_add_param (struct buffer_t *out, ch
 static void
 didl_add_value (struct buffer_t *out, char *param, off_t value)
 {
-  buffer_appendf (out, " %s=\"%lld\"", param, value);
+  buffer_appendf (out, " %s=\"%zd\"", param, value);
 }
 
 static void
--- a/src/http.c
+++ b/src/http.c
@@ -311,17 +311,17 @@ http_seek (UpnpWebFileHandle fh, off_t o
   switch (origin)
   {
   case SEEK_SET:
-    log_verbose ("Attempting to seek to %lld (was at %lld) in %s\n",
+    log_verbose ("Attempting to seek to %zd (was at %zd) in %s\n",
                 offset, file->pos, file->fullpath);
     newpos = offset;
     break;
   case SEEK_CUR:
-    log_verbose ("Attempting to seek by %lld from %lld in %s\n",
+    log_verbose ("Attempting to seek by %zd from %zd in %s\n",
                 offset, file->pos, file->fullpath);
     newpos = file->pos + offset;
     break;
   case SEEK_END:
-    log_verbose ("Attempting to seek by %lld from end (was at %lld) in %s\n",
+    log_verbose ("Attempting to seek by %zd from end (was at %zd) in %s\n",
                 offset, file->pos, file->fullpath);
 
     if (file->type == FILE_LOCAL)
openSUSE Build Service is sponsored by