projects
/
u
/
mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make flags be macros rather than enumerations, to ensure that they're
[u/mdw/catacomb]
/
limlee.h
diff --git
a/limlee.h
b/limlee.h
index
bccfccb
..
2802585
100644
(file)
--- a/
limlee.h
+++ b/
limlee.h
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-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
*
*
* Generate Lim-Lee primes
*
@@
-30,6
+30,10
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: limlee.h,v $
/*----- 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.
*
* 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 --- */
/* --- Flags --- */
-enum {
- LIMLEE_KEEPFACTORS = 1
-};
+#define LIMLEE_KEEPFACTORS 1u
/*----- The Lim-Lee stepper function --------------------------------------*/
/*----- The Lim-Lee stepper function --------------------------------------*/