X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/863e75ffb7d4b4f4a73d11d489e47eab1d52c6f2..16efd15b675c87d22a4fd9fb12d7bb26f2a36031:/limlee.h diff --git a/limlee.h b/limlee.h index bccfccb..2802585 100644 --- a/limlee.h +++ b/limlee.h @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: limlee.h,v 1.2 2000/08/18 19:16:51 mdw Exp $ + * $Id: limlee.h,v 1.3 2000/12/06 20:33:27 mdw Exp $ * * Generate Lim-Lee primes * @@ -30,6 +30,10 @@ /*----- Revision history --------------------------------------------------* * * $Log: limlee.h,v $ + * Revision 1.3 2000/12/06 20:33:27 mdw + * Make flags be macros rather than enumerations, to ensure that they're + * unsigned. + * * Revision 1.2 2000/08/18 19:16:51 mdw * New stepper interface for constructing Lim-Lee primes. * @@ -102,9 +106,7 @@ typedef struct limlee_primeops { /* --- Flags --- */ -enum { - LIMLEE_KEEPFACTORS = 1 -}; +#define LIMLEE_KEEPFACTORS 1u /*----- The Lim-Lee stepper function --------------------------------------*/