Attached is a patch for AP26 to make it run faster on 32-bit computers.

Instructions:

*** First change

In AP26.h or AP26-boinc.h find the lines

r61=n59%61;
r67=n59%67;
r71=n59%71;
r73=n59%73;
r79=n59%79;
r83=n59%83;
r89=n59%89;
r97=n59%97;

and replace them with

#include "repl32-1.h"

*** Second change

In SITO.H or SITO-boinc.h all the lines from

if(sito&=OKOK101[n59%101]) 

to the end of the file, which is

if(sito&=OKOK331[n59%331]) 

replace with

#include "repl32-2.h"

***********************************

Jarek Wroblewski, Jauary 20, 2009