Changeset 0babb896 in ffmpeg


Ignore:
Timestamp:
Feb 18, 2015, 12:49:35 AM (10 years ago)
Author:
Michael Niedermayer <michaelni@gmx.at>
Branches:
master
Children:
d501b986
Parents:
b7c19aee
git-author:
Michael Niedermayer <michaelni@gmx.at> (02/18/15 00:39:57)
git-committer:
Michael Niedermayer <michaelni@gmx.at> (02/18/15 00:49:35)
Message:

compat/avisynth/windowsPorts/windows2linux: Add () to protect macro arguments

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • compat/avisynth/windowsPorts/windows2linux.h

    rb7c19aee r0babb896  
    5353// Functions
    5454//
    55 #define MAKEDWORD(a,b,c,d) ((a << 24) | (b << 16) | (c << 8) | (d))
    56 #define MAKEWORD(a,b) ((a << 8) | (b))
     55#define MAKEDWORD(a,b,c,d) (((a) << 24) | ((b) << 16) | ((c) << 8) | (d))
     56#define MAKEWORD(a,b) (((a) << 8) | (b))
    5757
    5858#define lstrlen                             strlen
Note: See TracChangeset for help on using the changeset viewer.