From e4ba18a5f54218a7f86a988ecf8afc78e548d0a4 Mon Sep 17 00:00:00 2001
From: Thomas Voss <thomasvoss@live.com>
Date: Thu, 2 Dec 2021 20:59:52 +0100
Subject: Return a uint16, not an int

---
 2015/07/puzzles.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to '2015/07')

diff --git a/2015/07/puzzles.py b/2015/07/puzzles.py
index 37347c7..683e537 100644
--- a/2015/07/puzzles.py
+++ b/2015/07/puzzles.py
@@ -12,7 +12,7 @@ recipes: dict[str, list[str] | uint16] = {}
 
 def solve(wire: str) -> uint16:
 	if wire.isdigit():
-		return int(wire)
+		return uint16(wire)
 	if type(recipes[wire]) == uint16:
 		return recipes[wire]
 
-- 
cgit v1.2.3