Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nomeata committed Nov 5, 2022
1 parent 0704680 commit 0658847
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/OidTable.hs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ oidTable conf title entries | entriesPerPage < 1 = error "OID codes too large to
}

-- Configure-dependent dimensions (all in pt)
(imageWidth,imageHeight) = (*mm) *** (*mm) $ fromIntegral *** fromIntegral $cCodeDim conf
(imageWidth,imageHeight) = (*mm) *** (*mm) $ fromIntegral *** fromIntegral $ cCodeDim conf

-- Static dimensions (all in pt)

Expand Down
2 changes: 1 addition & 1 deletion src/OidTableSVG.hs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ oidTableSvg conf usePNG title entries
$ fromString d
where
-- Configure-dependent dimensions (all in pt)
(imageWidth,imageHeight) = (*mm) *** (*mm) $ fromIntegral *** fromIntegral $cCodeDim conf
(imageWidth,imageHeight) = (*mm) *** (*mm) $ fromIntegral *** fromIntegral $ cCodeDim conf

-- Static dimensions (all in pt)

Expand Down

0 comments on commit 0658847

Please sign in to comment.