Skip to content

Commit

Permalink
Fix CStorable default implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
hsyl20 committed Jan 17, 2015
1 parent 03165fd commit 495c2de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Foreign/CStorable/TypeClass.hs
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,4 @@ class CStorable a where

cSizeOf :: a -> Int
default cSizeOf :: (Generic a, GCStorable (Rep a)) => a -> Int
cSizeOf = gcAlignment . from
cSizeOf = gcSizeOf . from

0 comments on commit 495c2de

Please sign in to comment.