Browse Source

Fix compilation < R16B01

Loïc Hoguin 12 years ago
parent
commit
9eaee45c09
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/cowboy_websocket.erl

+ 1 - 1
src/cowboy_websocket.erl

@@ -21,7 +21,7 @@
 
 %% Ignore the deprecation warning for crypto:sha/1.
 %% @todo Remove when we support only R16B+.
--compile({nowarn_deprecated_function, {crypto, sha, 1}}).
+-compile(nowarn_deprecated_function).
 
 %% API.
 -export([upgrade/4]).