]> git.pld-linux.org Git - packages/dvd+rw-tools.git/blob - dvd+rw-tools-gcc4.patch
- bacula patch updated (the old one caused Memory Fault)
[packages/dvd+rw-tools.git] / dvd+rw-tools-gcc4.patch
1 --- dvd+rw-tools-6.0/growisofs.c.orig   2006-01-28 18:06:28.000000000 +0100
2 +++ dvd+rw-tools-6.0/growisofs.c        2006-01-28 18:07:52.134334250 +0100
3 @@ -434,7 +434,7 @@
4  #endif
5  
6  #ifndef LLD
7 -#define LLD            "lld"
8 +#define LLD            "zd"
9  #endif
10  
11  typedef ssize_t (*pwrite64_t)(int,const void *,size_t,off64_t);
12 @@ -2768,10 +2768,10 @@
13  
14         if (dev_found == 'F') {
15                 off64_t capacity = 0;
16 -               printf("next_session=%lld\n", next_session*CD_BLOCK);
17 +               printf("next_session=%ld\n", next_session*CD_BLOCK);
18                 if (ioctl_handle!=INVALID_HANDLE)
19                         capacity = get_capacity (ioctl_handle);
20 -               printf("capacity=%lld\n", capacity);
21 +               printf("capacity=%zd\n", capacity);
22                 exit(0);
23         }
24  
This page took 0.100044 seconds and 3 git commands to generate.