summaryrefslogtreecommitdiff
path: root/src/pdu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pdu.h')
-rw-r--r--src/pdu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pdu.h b/src/pdu.h
index 35c43a6..60243ec 100644
--- a/src/pdu.h
+++ b/src/pdu.h
@@ -119,7 +119,7 @@ int pdu_user_data_read(int fd, struct pdu_info *pdu);
#define cycledown(n, mod) ((mod - 1) - ((n) % (mod)))
//Returns the number of octets the given septets (normal ascii) can be encoded to
-#define octets_from_septets(n) ((((n) * 7) + ((-(n) * 7) & 7)) / 8)
+#define octets_from_septets(n) ((((n) * 7) + ((-(n) * 7) & 7)) / 8)
//Returns the number of septets the given octets will decode to
#define septets_from_octets(n) ((n) * 8 / 7)