buildroot/package/directfb-examples/0001-remove-bzero.patch
Peter Korsgaard 298cd8eaa2 package/*: rename patches according to the new policy
Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345)

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-03 14:52:56 +01:00

18 lines
597 B
Diff

---
src/df_knuckles/matrix.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: directfb-examples-1.2.0/src/df_knuckles/matrix.c
===================================================================
--- directfb-examples-1.2.0.orig/src/df_knuckles/matrix.c
+++ directfb-examples-1.2.0/src/df_knuckles/matrix.c
@@ -19,7 +19,7 @@
static float Cosine[3600];
static float Sine[3600];
-#define M_CLEAR(m) bzero(m, MATRIX_SIZE)
+#define M_CLEAR(m) memset(m, 0, MATRIX_SIZE)
#define M_IDENTITY(m) memcpy(m, IdentityMatrix, MATRIX_SIZE)
static void MultiplyMatrix(float *A, float *B)