|
From: Andre R. <and...@us...> - 2004-11-23 12:32:26
|
Update of /cvsroot/frontierkernel/Frontier/Common/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29672/Common/source Modified Files: ops.c Log Message: For bcdToLong, use unsigned long instead of UInt32 to make it compile on Windows. Index: ops.c =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/Common/source/ops.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** ops.c 22 Nov 2004 19:07:28 -0000 1.4 --- ops.c 23 Nov 2004 12:32:17 -0000 1.5 *************** *** 953,960 **** ! UInt32 bcdToLong (UInt32 bcd) { /* 2004-11-16 creedon */ ! UInt32 ret = 0; ! UInt16 i; for (i = 0; i < 8; i++) { --- 953,960 ---- ! unsigned long bcdToLong (unsigned long bcd) { /* 2004-11-16 creedon */ ! unsigned long ret = 0; ! short i; for (i = 0; i < 8; i++) { |