aboutsummaryrefslogtreecommitdiff
path: root/uxd.c
diff options
context:
space:
mode:
Diffstat (limited to 'uxd.c')
-rw-r--r--uxd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/uxd.c b/uxd.c
index 109cbf8..9e402dc 100644
--- a/uxd.c
+++ b/uxd.c
@@ -254,9 +254,11 @@ long parse_number(int opt, const char *s) {
case 'k': result *= 1024L; break;
case 'm': result *= 1048576L; break;
case 'g': result *= 1073741824L; break;
+ case 't': result *= 1099511627776L; break;
case 'K': result *= 1000L; break;
case 'M': result *= 1000000L; break;
case 'G': result *= 1000000000L; break;
+ case 'T': result *= 1000000000000L; break;
default:
number_err(opt);
}