Source: yank
Version: 0.4.0-2
Severity: important
Justification: fails to build from source

Builds of yank for 32-bit architectures such as i386 have been failing:

  yank.c:24:22: error: comparison between signed and unsigned integer 
expressions [-Werror=sign-compare]
   #define MIN(x, y) (x < y ? x : y)
                        ^
  yank.c:334:8: note: in expansion of macro 'MIN'
      d = MIN((in.v + in.nmemb) - s1,
          ^
  yank.c:24:30: error: signed and unsigned type in conditional expression 
[-Werror=sign-compare]
   #define MIN(x, y) (x < y ? x : y)
                                ^
  yank.c:334:8: note: in expansion of macro 'MIN'
      d = MIN((in.v + in.nmemb) - s1,
          ^
  cc1: all warnings being treated as errors
  Makefile:11: recipe for target 'yank' failed

I'm not sure why this isn't happening for 64-bit architectures; it
might relate to type promotion rules.

Could you please take a look?

Thanks!

Reply via email to