Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #1 from reachfh/compile-warnings

Fix compile warnings
  • Loading branch information...
commit 4d33b6a3cfdb09340a2292adcea3245b24534b0a 2 parents 900d913 + ba79c05
@ferd authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  src/bertconf.erl
  2. +1 −1  src/bertconf_lib.erl
View
2  src/bertconf.erl
@@ -8,7 +8,7 @@
-type namespace() :: term().
-opaque version() :: {vsn,term()}.
--export_types([namespace/0, version/0]).
+-export_type([namespace/0, version/0]).
%%% APPLICATION CALLBACKS %%%
start(normal, _) ->
View
2  src/bertconf_lib.erl
@@ -28,7 +28,7 @@ inspect(Dir, Refs) ->
Files = find_bert_files(Dir),
NewRefs = [begin
{ok, Bin} = file:read_file(File),
- {File, crypto:md5(Bin)}
+ {File, crypto:hash(md5, Bin)}
end || File <- Files],
DiffFiles = diff(NewRefs, Refs),
{DiffFiles, NewRefs}.
Please sign in to comment.
Something went wrong with that request. Please try again.