Skip to content

Commit

Permalink
Set new command line args to size_t
Browse files Browse the repository at this point in the history
  • Loading branch information
ForeverASilver committed Oct 10, 2023
1 parent 58d52da commit e5feb20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/internal_modules/roc_pipeline/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ struct ReceiverSessionConfig {
audio::ResamplerProfile resampler_profile;

//! Max number of receiver sessions.
unsigned int max_sessions;
size_t max_sessions;

ReceiverSessionConfig()
: target_latency(DefaultLatency)
Expand Down Expand Up @@ -232,7 +232,7 @@ struct ReceiverCommonConfig {
bool enable_beeping;

//! Maximum number of packets per session.
unsigned int max_session_packets;
size_t max_session_packets;

ReceiverCommonConfig()
: output_sample_spec(DefaultSampleSpec)
Expand Down

0 comments on commit e5feb20

Please sign in to comment.