userlibandfileserver/fileserver/sfat32/sl_utl.cpp
branchGCC_SURGE
changeset 167 b41fc9c39ca7
parent 90 947f0dc9f7a8
--- a/userlibandfileserver/fileserver/sfat32/sl_utl.cpp	Fri Jun 18 18:06:39 2010 +0100
+++ b/userlibandfileserver/fileserver/sfat32/sl_utl.cpp	Sat Jun 19 07:49:33 2010 +0100
@@ -150,7 +150,7 @@
     chkSum = (TUint8)(((chkSum<<7) | (chkSum>>1)) + ((w0 << 8)  >> 24));
     chkSum = (TUint8)(((chkSum<<7) | (chkSum>>1)) + ( w0 >> 24));
 
-    chkSum = (TUint8)(((chkSum<<7) | (chkSum>>1)) + (w1) & 0xFF);
+    chkSum = (TUint8)(((chkSum<<7) | (chkSum>>1)) + (w1 & 0xFF));
     chkSum = (TUint8)(((chkSum<<7) | (chkSum>>1)) + ((w1 << 16) >> 24));
     chkSum = (TUint8)(((chkSum<<7) | (chkSum>>1)) + ((w1 << 8)  >> 24));
     chkSum = (TUint8)(((chkSum<<7) | (chkSum>>1)) + ( w1 >> 24));