Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[core] TransformState::getIntegerZoom should be uint8_t
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoabinader committed Sep 15, 2017
1 parent 447d24b commit fe1cf83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mbgl/map/transform_state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ double TransformState::getZoom() const {
return scaleZoom(scale);
}

int32_t TransformState::getIntegerZoom() const {
uint8_t TransformState::getIntegerZoom() const {
return getZoom();
}

Expand Down
2 changes: 1 addition & 1 deletion src/mbgl/map/transform_state.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class TransformState {

// Zoom
double getZoom() const;
int32_t getIntegerZoom() const;
uint8_t getIntegerZoom() const;
double getZoomFraction() const;

// Bounds
Expand Down

0 comments on commit fe1cf83

Please sign in to comment.