mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-02 19:32:58 +02:00
Fix compiler warnings when compiling patience diff module
This commit is contained in:
parent
9355dd7668
commit
2f35ca7ca5
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@
|
|||
* causing <https://bugs.launchpad.net/bzr/+bug/511267> and
|
||||
* <https://bugs.launchpad.net/bzr/+bug/331095>. On glibc it passes, but
|
||||
* let's make it fail to aid testing. */
|
||||
#define guarded_malloc(x) ( (x) ? malloc(x) : NULL )
|
||||
static inline void* guarded_malloc(size_t x) { return x ? malloc(x) : NULL; }
|
||||
|
||||
enum {
|
||||
OP_EQUAL = 0,
|
||||
|
|
|
|||
Loading…
Reference in a new issue