From cdb58b737616b7927f3e19a18dce13d919dbd607 Mon Sep 17 00:00:00 2001 From: David Butler Date: Wed, 25 May 2016 00:02:33 +0100 Subject: [PATCH] Clang warning suppression --- .../UserInterfaceState.xcuserstate | Bin 14498 -> 16480 bytes .../xcdebugger/Breakpoints_v2.xcbkptlist | 23 ++++++++++++++++++ .../xcschemes/max-external.xcscheme | 5 ++++ src/imp.push.c | 13 +++++----- 4 files changed, 35 insertions(+), 6 deletions(-) create mode 100644 imp.push.xcodeproj/xcuserdata/David.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist diff --git a/imp.push.xcodeproj/project.xcworkspace/xcuserdata/David.xcuserdatad/UserInterfaceState.xcuserstate b/imp.push.xcodeproj/project.xcworkspace/xcuserdata/David.xcuserdatad/UserInterfaceState.xcuserstate index 75b5c1f17f283d40d9c80d81e4aacb14c839c93d..608da50fbed0a055d03d1a7de70f1a9b87a362c0 100644 GIT binary patch literal 16480 zcmc(G2UwHW_y4``fH0E~5)#5l2m}ITK*Cb1Y(-H~hB#?}0I7js5)@p$Z|kVlYHe$$ zwSu$T?rMi^ZLPM}I&1g0dr!Of|Gaq#kgDJI`Tu^;^V0`N?l||}bI8V#UrXgk`0cA{NqH@Y3&fgVPWphwYOv=2Ro z9!F20C(*O$D0&&4MsJ`u(Oc+U^db5PeT+UwU!bqi59mkqEBX`tg%J+HVK@>?uoNfa zB%F*jSc{F=gw5E3bFdAM!lUsRT#C!^1YCos;pw;**Wo#ME}n<&*n#I`7hZt-@M63K zUyfJcmG~-r1HKh+!@KaE_+GpRKZy6@C-BqwIs76%hF`_6;n(qd_DG8;Z;wUYZLg^?2Wu#1$jT%K2QT}L+0-1WgK|=r zQ1dAl)k%3MFXf|psa4c!>I!NNwVv8QT}$0W-AwgUJE)!19n_uFUDO`xLFysuVd@d; zCF&^kGIfkPPMx4mQm3fX)GO2(>UHWZ>K*ER>Lcn4>MZpu^&9m&&Co0zLPyhLI*wM- zDmtE4)5)}zw$XWXK3zZ;(na(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QWw(_h(tJtctCRkn8hSm&gb8DuxjkS}ttF?zU%i719XDzS}vldzx zSyx-vSl3xMT5no^w?42wv_7(>*qYliZEbArZ5?f$ZNqJ&Y-4O=ZR10>S+*s%Rkk&@ zb++}kO|~tzFKuUSKiO{E?%E#OiCtvZ*iH6ydkcF%d$E0@eTtphr`cb#ziyvxpKJfX zKF_|^zQMl9zS+LjzTJMne%SuC{h0lv{j~kE{i^+Y`wjae`@at0fDYmiIMfb$u>!T>SK5#y9 zNnLW6(xq|fU2!gtE6vr~mF4Q|%61KM<+$=(fskv2You$kE9Bx_(_F8)X1d;Tz2lng z3cD7%s$F|r=UjK($Q|cy=x*sQaF28sxhJ__cfaX=+dbPo*Zsb`%Dv3J!oA9U!~L84 zq5F~hUk~>1JtB|96YJ4?tR9~y-P6L;%G1`lE3pYw + + + + + + + + diff --git a/imp.push.xcodeproj/xcuserdata/David.xcuserdatad/xcschemes/max-external.xcscheme b/imp.push.xcodeproj/xcuserdata/David.xcuserdatad/xcschemes/max-external.xcscheme index c26661c..2ba6646 100644 --- a/imp.push.xcodeproj/xcuserdata/David.xcuserdatad/xcschemes/max-external.xcscheme +++ b/imp.push.xcodeproj/xcuserdata/David.xcuserdatad/xcschemes/max-external.xcscheme @@ -42,6 +42,11 @@ debugDocumentVersioning = "YES" debugServiceExtension = "internal" allowLocationSimulation = "YES"> + + mutex, 0); - x->draw_buffer = sysmem_newptrclear(PUSH2_DISPLAY_IMAGE_BUFFER_SIZE); - x->send_buffer = sysmem_newptrclear(PUSH2_DISPLAY_IMAGE_BUFFER_SIZE); + x->draw_buffer = (t_uint8*)sysmem_newptrclear(PUSH2_DISPLAY_IMAGE_BUFFER_SIZE); + x->send_buffer = (t_uint8*)sysmem_newptrclear(PUSH2_DISPLAY_IMAGE_BUFFER_SIZE); imp_push_copyandmask_buffer(x); imp_push_open_device(x); @@ -184,9 +184,9 @@ t_jit_err imp_push_matrix_calc(t_imp_push* x, void* inputs, void* outputs) return JIT_ERR_INVALID_INPUT; } - uint8_t* src = input_data; + t_uint8* src = (t_uint8*)input_data; - uint16_t* dst = (uint16_t*)x->draw_buffer; + t_uint16* dst = (t_uint16*)x->draw_buffer; if (input_info.planecount == 3) { @@ -252,8 +252,6 @@ void* imp_push_threadproc(t_imp_push* x) { if (x->device != NULL) { - systhread_mutex_lock(x->mutex); - int actual_length; result = libusb_bulk_transfer( @@ -267,6 +265,9 @@ void* imp_push_threadproc(t_imp_push* x) if (result != 0) break; + + systhread_mutex_lock(x->mutex); + for (int i = 0; i < PUSH2_DISPLAY_MESSAGES_PER_IMAGE; ++i) { result = libusb_bulk_transfer(