[ctypes-commit] ctypes/source cfield.c,1.74.2.10,1.74.2.11
Brought to you by:
theller
From: Thomas H. <th...@us...> - 2005-11-29 20:34:22
|
Update of /cvsroot/ctypes/ctypes/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16058 Modified Files: Tag: branch_1_0 cfield.c Log Message: Fix I_set_sw. Index: cfield.c =================================================================== RCS file: /cvsroot/ctypes/ctypes/source/cfield.c,v retrieving revision 1.74.2.10 retrieving revision 1.74.2.11 diff -C2 -d -r1.74.2.10 -r1.74.2.11 *** cfield.c 29 Nov 2005 20:24:00 -0000 1.74.2.10 --- cfield.c 29 Nov 2005 20:34:08 -0000 1.74.2.11 *************** *** 678,682 **** field = SWAP_INT(*(unsigned int *)ptr); field = (unsigned int)SET(field, (unsigned int)val, size); ! *(unsigned int *)ptr = field; _RET(value); } --- 678,682 ---- field = SWAP_INT(*(unsigned int *)ptr); field = (unsigned int)SET(field, (unsigned int)val, size); ! *(unsigned int *)ptr = SWAP_INT(field); _RET(value); } |