Skip to content

Commit

Permalink
clang formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
drinckes committed Jan 10, 2025
1 parent 2020f74 commit d3adb43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion c/src/olc.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ int OLC_EncodeIntegers(long long int lat, long long int lon, size_t length,
}

int OLC_Encode(const OLC_LatLon* location, size_t length, char* code,
int maxlen) {
int maxlen) {
// Multiply degrees by precision. Use lround to explicitly round rather than
// truncate, which causes issues when using values like 0.1 that do not have
// precise floating point representations.
Expand Down
2 changes: 1 addition & 1 deletion c/src/olc.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ int OLC_Shorten(const char* code, size_t size, const OLC_LatLon* reference,
int OLC_RecoverNearest(const char* short_code, size_t size,
const OLC_LatLon* reference, char* code, int maxlen);

#endif // OLC_OPENLOCATIONCODE_H
#endif // OLC_OPENLOCATIONCODE_H

0 comments on commit d3adb43

Please sign in to comment.