summaryrefslogtreecommitdiff
path: root/hypodermic/memory.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypodermic/memory.py')
-rw-r--r--hypodermic/memory.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/hypodermic/memory.py b/hypodermic/memory.py
index 0d86855..56a3fc3 100644
--- a/hypodermic/memory.py
+++ b/hypodermic/memory.py
@@ -48,7 +48,7 @@ def parse_device(line: str) -> Device:
The parsed Device object.
"""
major, minor = line.split(':')
- return Device(major, minor)
+ return Device(int(major), int(minor))
def parse_perms(line: str) -> Perms: