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

Fix all warnings #81

Merged
merged 4 commits into from
May 10, 2014
Merged

Fix all warnings #81

merged 4 commits into from
May 10, 2014

Conversation

BtbN
Copy link
Contributor

@BtbN BtbN commented May 9, 2014

Nothing special, just makes it compile without warnings.
Also, i believe the obs_data_item_set warnings were an actual bug, and not just warnings.

@@ -5339,7 +5339,9 @@ Read_1_Packet(RTMP *r, char *buf, unsigned int buflen)

if (recopy)
{
len = (unsigned int)(ret) > buflen ? buflen : ret;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about

len = (unsigned int)(ret) > buflen ? buflen : (unsigned int)ret;

to keep differences minimal?

jp9000 added a commit that referenced this pull request May 10, 2014
@jp9000 jp9000 merged commit a915855 into obsproject:master May 10, 2014
@BtbN BtbN deleted the wfixes branch May 24, 2014 11:54
Gol-D-Ace pushed a commit to Gol-D-Ace/obs-studio that referenced this pull request Feb 20, 2021
* Set the mp flag if MSVC

* Add the fast link flag
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

Successfully merging this pull request may close these issues.

None yet

3 participants