Ticket #30995: memcpy.patch

File memcpy.patch, 407 bytes (added by jeremyagost@…, 13 years ago)

Inline assembly fix for 64 bit

Line 
1*** xine-lib-1.1.19/src/xine-utils/memcpy.c     2010-03-09 17:17:05.000000000 -0500
2--- xine-lib-1.1.19-fix/src/xine-utils/memcpy.c 2012-01-21 08:38:44.000000000 -0500
3***************
4*** 138,144 ****
5--- 138,148 ----
6                               const void * from,
7                               size_t n)
8  {
9+ #if defined(ARCH_X86_64)
10+ long long d0, d1, d2;
11+ #else
12  int d0, d1, d2;
13+ #end
14 
15    if( n < 4 ) {
16      small_memcpy(to,from,n);