Skip to content

Commit

Permalink
Fix documentation on API version
Browse files Browse the repository at this point in the history
The documentation used a right-shift operator to construct HWLOC_API_VERSION from a release version. This made no sense and the left-shift operator should be used.

Signed-off-by: Hannes Weisbach hannes.weisbach@gmail.com
  • Loading branch information
hannesweisbach authored and bgoglin committed Dec 14, 2018
1 parent dd18071 commit e8c349c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/hwloc.h
Expand Up @@ -82,7 +82,7 @@ extern "C" {

/** \brief Indicate at build time which hwloc API version is being used.
*
* This number is updated to (X>>16)+(Y>>8)+Z when a new release X.Y.Z
* This number is updated to (X<<16)+(Y<<8)+Z when a new release X.Y.Z
* actually modifies the API.
*
* Users may check for available features at build time using this number
Expand Down

0 comments on commit e8c349c

Please sign in to comment.