diff options
| author | Mattias Andrée <maandree@kth.se> | 2021-04-06 04:18:25 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2021-04-06 04:18:25 +0200 |
| commit | 4b3c02dfb2c66565bc78c97fa684b867d21236b3 (patch) | |
| tree | f0c142bf48794ef91b2d24ee141235e3ab13aa29 /dice.c | |
| parent | Use object files for large font (diff) | |
| download | pdatools-4b3c02dfb2c66565bc78c97fa684b867d21236b3.tar.gz pdatools-4b3c02dfb2c66565bc78c97fa684b867d21236b3.tar.bz2 pdatools-4b3c02dfb2c66565bc78c97fa684b867d21236b3.tar.xz | |
Fix warnings
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
| -rw-r--r-- | dice.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -89,7 +89,7 @@ parse_dice(const char *s, struct die **dicep, size_t *ndicep) s++; if (num < 1) goto invalid; - die->count = (size_t)num; + die->count = num; if (!isdigit(*s) && *s != '-') goto invalid; errno = 0; |
