cordova-plugin-dialogs icon indicating copy to clipboard operation
cordova-plugin-dialogs copied to clipboard

CDVNotification.m: Fix pointer casting in sound completion callback

Open GitToTheHub opened this issue 3 months ago • 0 comments

  • Corrects casting of callback data to ensure proper handling of integer values when passing and retrieving the beep count in AudioServicesAddSystemSoundCompletion and soundCompletionCallback.
  • Produced the warning: Cast to smaller integer type 'int' from 'void *'

Platforms affected

Motivation and Context

Description

Testing

Checklist

  • [ ] I've run the tests to see all new and existing tests pass
  • [ ] I added automated test coverage as appropriate for this change
  • [ ] Commit is prefixed with (platform) if this change only applies to one platform (e.g. (android))
  • [ ] If this Pull Request resolves an issue, I linked to the issue in the text above (and used the correct keyword to close issues using keywords)
  • [ ] I've updated the documentation if necessary

GitToTheHub avatar Oct 10 '25 14:10 GitToTheHub