mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
17
package/directfb-examples/0001-remove-bzero.patch
Normal file
17
package/directfb-examples/0001-remove-bzero.patch
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
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)
|
||||
Reference in New Issue
Block a user