diff options
| author | Julian Weigt <juw@posteo.de> | 2025-12-23 17:14:54 +0000 |
|---|---|---|
| committer | Julian Weigt <juw@posteo.de> | 2026-02-04 15:55:46 +0100 |
| commit | b43f9d38196080333680681766b6f23f024c0cb0 (patch) | |
| tree | c82c1b8eecc5c5a1434e58f910e25203b305c6dc /ratio.c | |
| parent | edcded21cbeb272ff206a92c693ab21bf33ebae6 (diff) | |
Reorganize mallocs to get ready for multithreading.
Diffstat (limited to 'ratio.c')
| -rw-r--r-- | ratio.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5,7 +5,7 @@ typedef unsigned long long num; -typedef struct {bool s; num n; num d} rational; +typedef struct {bool s; num n; num d;} rational; unsigned int safe_sum(num n1, num n2){ if(n2 > ULLONG_MAX-n1){ |
