Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

osx_keychain has 10 warnings #174

Open
ykws opened this issue Jul 3, 2017 · 2 comments
Open

osx_keychain has 10 warnings #174

ykws opened this issue Jul 3, 2017 · 2 comments

Comments

@ykws
Copy link
Collaborator

ykws commented Jul 3, 2017

I think resolve if merged seattlerb/osx_keychain#2
But not yet, any idea?

bundle exec rspec spec/*_spec.rb
/Users/travis/build/orta/cocoapods-keys/vendor/bundle/ruby/2.0.0/gems/osx_keychain-1.0.1/lib/osx_keychain.rb:45:20: warning: implicit conversion loses integer precision: 'unsigned long' to 'UInt32' (aka 'unsigned int') [-Wshorten-64-to-32]
                   strlen(service), service,
                   ^~~~~~~~~~~~~~~
/Users/travis/build/orta/cocoapods-keys/vendor/bundle/ruby/2.0.0/gems/osx_keychain-1.0.1/lib/osx_keychain.rb:46:31: warning: implicit conversion loses integer precision: 'unsigned long' to 'UInt32' (aka 'unsigned int') [-Wshorten-64-to-32]
                   username ? strlen(username) : 0, username,
                              ^~~~~~~~~~~~~~~~
/Users/travis/build/orta/cocoapods-keys/vendor/bundle/ruby/2.0.0/gems/osx_keychain-1.0.1/lib/osx_keychain.rb:51:22: warning: implicit conversion loses integer precision: 'unsigned long' to 'UInt32' (aka 'unsigned int') [-Wshorten-64-to-32]
                     strlen(service), service,
                     ^~~~~~~~~~~~~~~
/Users/travis/build/orta/cocoapods-keys/vendor/bundle/ruby/2.0.0/gems/osx_keychain-1.0.1/lib/osx_keychain.rb:53:33: warning: implicit conversion loses integer precision: 'unsigned long' to 'UInt32' (aka 'unsigned int') [-Wshorten-64-to-32]
                     username ? strlen(username) : 0, username,
                                ^~~~~~~~~~~~~~~~
/Users/travis/build/orta/cocoapods-keys/vendor/bundle/ruby/2.0.0/gems/osx_keychain-1.0.1/lib/osx_keychain.rb:90:20: warning: implicit conversion loses integer precision: 'unsigned long' to 'UInt32' (aka 'unsigned int') [-Wshorten-64-to-32]
                   strlen(service), service,
                   ^~~~~~~~~~~~~~~
/Users/travis/build/orta/cocoapods-keys/vendor/bundle/ruby/2.0.0/gems/osx_keychain-1.0.1/lib/osx_keychain.rb:91:43: warning: implicit conversion loses integer precision: 'unsigned long' to 'UInt32' (aka 'unsigned int') [-Wshorten-64-to-32]
                   username == NULL ? 0 : strlen(username), username,
                                          ^~~~~~~~~~~~~~~~
/Users/travis/build/orta/cocoapods-keys/vendor/bundle/ruby/2.0.0/gems/osx_keychain-1.0.1/lib/osx_keychain.rb:97:24: warning: implicit conversion loses integer precision: 'unsigned long' to 'UInt32' (aka 'unsigned int') [-Wshorten-64-to-32]
                       strlen(password), password);
                       ^~~~~~~~~~~~~~~~
/Users/travis/build/orta/cocoapods-keys/vendor/bundle/ruby/2.0.0/gems/osx_keychain-1.0.1/lib/osx_keychain.rb:102:24: warning: implicit conversion loses integer precision: 'unsigned long' to 'UInt32' (aka 'unsigned int') [-Wshorten-64-to-32]
                       strlen(service), service,
                       ^~~~~~~~~~~~~~~
/Users/travis/build/orta/cocoapods-keys/vendor/bundle/ruby/2.0.0/gems/osx_keychain-1.0.1/lib/osx_keychain.rb:103:47: warning: implicit conversion loses integer precision: 'unsigned long' to 'UInt32' (aka 'unsigned int') [-Wshorten-64-to-32]
                       username == NULL ? 0 : strlen(username), username,
                                              ^~~~~~~~~~~~~~~~
/Users/travis/build/orta/cocoapods-keys/vendor/bundle/ruby/2.0.0/gems/osx_keychain-1.0.1/lib/osx_keychain.rb:104:24: warning: implicit conversion loses integer precision: 'unsigned long' to 'UInt32' (aka 'unsigned int') [-Wshorten-64-to-32]
                       strlen(password), password,
                       ^~~~~~~~~~~~~~~~
10 warnings generated.
@patoroco
Copy link
Contributor

patoroco commented Aug 3, 2017

some news about that? I'm receive same errors on CircleCI, but if I connect by SSH to instance, and re-run bundle exec pod install, it doesn't show it.

In my local, the same: first execution shows warnings, but after that, no warnings...

🤷‍♂️

@orta
Copy link
Owner

orta commented Aug 3, 2017

This isn't really an issue with cocoapods-keys, I'd obviously rather not have those warnings but I have no power there. I'd recommend mentioning on the PR above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants