factor: mod2 now returns uuint
commit63143139353541062e7cf75b36edd4cb5ad91ad5
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 26 Sep 2024 17:25:51 +0000 (26 10:25 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 28 Sep 2024 00:42:58 +0000 (27 17:42 -0700)
tree3e47a1bee7ae95547c8c99a24507e6fbcc101a03
parentbb2a973fdc8c15f667f978ca56fa3a7122568600
factor: mod2 now returns uuint

* src/factor.c (uuset): New function.
(mod2): Return uuint rather than having half the returned value
stored via a pointer.  This makes the code a bit easier to read
and can help the compiler avoid aliasing issues.  All callers changed.
src/factor.c