From 8e22065deff41c3e476763ebd939a63856e6d54b Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 18 Apr 2014 19:06:55 -0400 Subject: better serial number offsets --- Propellor/Types/Dns.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Propellor/Types') diff --git a/Propellor/Types/Dns.hs b/Propellor/Types/Dns.hs index 026920fb..b5cfcffd 100644 --- a/Propellor/Types/Dns.hs +++ b/Propellor/Types/Dns.hs @@ -2,7 +2,7 @@ module Propellor.Types.Dns where import Propellor.Types.OS (HostName) -import Foreign.C.Types +import Data.Word type Domain = String @@ -65,7 +65,7 @@ getIPAddr (Address addr) = Just addr getIPAddr _ = Nothing -- | Bind serial numbers are unsigned, 32 bit integers. -type SerialNumber = CInt +type SerialNumber = Word32 -- | Domains in the zone file must end with a period if they are absolute. -- -- cgit v1.2.3