[ctypes-commit] ctypes/source cfield.c,1.50,1.51
Brought to you by:
theller
From: Thomas H. <th...@us...> - 2004-10-12 09:36:59
|
Update of /cvsroot/ctypes/ctypes/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14501 Modified Files: cfield.c Log Message: Fix compiler warning. Index: cfield.c =================================================================== RCS file: /cvsroot/ctypes/ctypes/source/cfield.c,v retrieving revision 1.50 retrieving revision 1.51 diff -C2 -d -r1.50 -r1.51 *** cfield.c 12 Oct 2004 09:32:27 -0000 1.50 --- cfield.c 12 Oct 2004 09:36:45 -0000 1.51 *************** *** 747,751 **** /* copy terminating NUL character */ size += 1; ! PyUnicode_AsWideChar(value, (wchar_t *)ptr, size); return value; } --- 747,751 ---- /* copy terminating NUL character */ size += 1; ! PyUnicode_AsWideChar((PyUnicodeObject *)value, (wchar_t *)ptr, size); return value; } |