Skip to content
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.

Commit

Permalink
Merge pull request #641 from abbeyj/gcc-warnings
Browse files Browse the repository at this point in the history
Fix 2 gcc warnings
  • Loading branch information
erikrose committed Feb 10, 2017
2 parents 48445a5 + b7481c4 commit 32476cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dxr/plugins/clang/sha1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ namespace sha1
{
namespace // local
{
inline const unsigned int rol(const unsigned int num, const unsigned int cnt)
inline unsigned int rol(const unsigned int num, const unsigned int cnt)
{
return((num << cnt) | (num >> (32-cnt)));
}
Expand Down
2 changes: 1 addition & 1 deletion dxr/plugins/clang/sha1.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ namespace sha1
@param hexstring should point to a buffer of at least 41 bytes of size for storing the hexadecimal representation of the hash. A zero will be written at position 40, so the buffer will be a valid zero ended string.
*/
void toHexString(const unsigned char *hash, char *hexstring);
}; // namespace sha1
} // namespace sha1

#endif // SHA1_DEFINED

0 comments on commit 32476cd

Please sign in to comment.