Created
August 10, 2016 17:05
-
-
Save Misiur/ab8296e7f23b66cdd8991b820b2ee348 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Entering 'project/lib/cairo' | |
diff --git a/src/cairo-ft-font.c b/src/cairo-ft-font.c | |
index e0843ae..2e598f0 100644 | |
--- a/src/cairo-ft-font.c | |
+++ b/src/cairo-ft-font.c | |
@@ -69,7 +69,9 @@ | |
#if HAVE_UNISTD_H | |
#include <unistd.h> | |
#else | |
-#define access(p, m) 0 | |
+ #ifndef access | |
+ #define access(p, m) 0 | |
+ #endif | |
#endif | |
/* Fontconfig version older than 2.6 didn't have these options */ | |
Entering 'project/lib/curl' | |
diff --git a/src/axTLS/crypto/crypto_misc.c b/src/axTLS/crypto/crypto_misc.c | |
index 62eb6fe..d02ce51 100644 | |
--- a/src/axTLS/crypto/crypto_misc.c | |
+++ b/src/axTLS/crypto/crypto_misc.c | |
@@ -122,7 +122,7 @@ EXP_FUNC void STDCALL RNG_initialize() | |
} | |
#else | |
/* start of with a stack to copy across */ | |
- int i; | |
+ int i = 0; | |
memcpy(entropy_pool, &i, ENTROPY_POOL_SIZE); | |
srand((unsigned int)&i); | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment