Skip to content

Commit

Permalink
incorrect return type
Browse files Browse the repository at this point in the history
  • Loading branch information
relaxolotl committed Dec 7, 2021
1 parent 9a6f3cd commit 73b9300
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/sentry.h
Original file line number Diff line number Diff line change
Expand Up @@ -1209,7 +1209,7 @@ SENTRY_EXPERIMENTAL_API void sentry_options_set_max_spans(
* Gets the maximum number of spans that can be attached to a
* transaction.
*/
SENTRY_EXPERIMENTAL_API int sentry_options_get_max_spans(
SENTRY_EXPERIMENTAL_API size_t sentry_options_get_max_spans(
sentry_options_t *opts);

/**
Expand Down
2 changes: 1 addition & 1 deletion src/sentry_options.c
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ sentry_options_set_max_spans(sentry_options_t *opts, size_t max_spans)
* Gets the maximum number of spans that can be attached to a
* transaction.
*/
int
size_t
sentry_options_get_max_spans(sentry_options_t *opts)
{
return opts->max_spans;
Expand Down

0 comments on commit 73b9300

Please sign in to comment.