Skip to content

Commit

Permalink
Clarify comments: change 62 (old max bits) to now supported 63.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aliance committed Jun 8, 2017
1 parent e9fecb6 commit 738cf79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/example.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
define('ACCESS_READ', 2);
define('ACCESS_UPDATE', 3);
define('ACCESS_DELETE', 4);
// etc, up to 62
// etc, up to 63

// some users from storage
$user = [
Expand Down
2 changes: 1 addition & 1 deletion src/Bitmask.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

/**
* Simple bitmask implementation.
* Supports only 63 bits (from 0 to 62) on x64 platforms.
* Supports only 64 bits (from 0 to 63) on x64 platforms.
*/
class Bitmask
{
Expand Down

0 comments on commit 738cf79

Please sign in to comment.