mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-20 09:30:43 +00:00
5 lines
146 B
C
5 lines
146 B
C
|
unsigned long do_csum(const unsigned char *buff, int len, unsigned long result) {
|
||
|
if (2 & (unsigned long) buff) result += 1;
|
||
|
return result;
|
||
|
}
|