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

Bug in deleteDirectMessage #101

Open
dipugm opened this issue Mar 19, 2012 · 0 comments
Open

Bug in deleteDirectMessage #101

dipugm opened this issue Mar 19, 2012 · 0 comments

Comments

@dipugm
Copy link

dipugm commented Mar 19, 2012

The code takes in a long value but formats it as %u. This will truncate it to an integer and obviously fail the delete operation.
The formatting should use %lu, if at all we need to use a long value.
In Reality, the direct message ids are not even long but are long long values. So, the format should actually use %llu instead of %lu.

OR for simplicity, why not make it a NSString and save the pain of conversions?

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

1 participant