Skip to content

Commit

Permalink
fix: fix incorrect conversion between integer types
Browse files Browse the repository at this point in the history
fix incorrect conversion between integer types

Signed-off-by: bruce <weichou1229@gmail.com>
  • Loading branch information
weichou1229 committed Nov 8, 2024
1 parent 10f464a commit a356cdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/driver/pullpointmanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func (manager *PullPointManager) NewSubscriber(onvifClient *OnvifClient, resourc
subscriptionRequest: request,
pullMessageRequestBody: event.PullMessages{
Timeout: xsd.Duration(*request.MessageTimeout),
MessageLimit: xsd.Int(*request.MessageLimit),
MessageLimit: xsd.Int(int32(*request.MessageLimit)),
},
Stopped: make(chan bool),
}
Expand Down

0 comments on commit a356cdf

Please sign in to comment.