Changeset 5329:c24c167375f0 in roaraudio


Ignore:
Timestamp:
12/06/11 20:48:00 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

more robust macro

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroareio/httpd.h

    r4708 r5329  
    3939#include "libroareio.h" 
    4040 
    41 #define _ROAR_EIO_HTTPD_VERSION(major,minor) ((major)<<8|(minor)) 
     41#define _ROAR_EIO_HTTPD_VERSION(major,minor) (((major)<<8)|(minor)) 
    4242#define _ROAR_EIO_HTTPD_VERSION_MAJOR(x)     ((x)>>8) 
    4343#define _ROAR_EIO_HTTPD_VERSION_MINOR(x)     ((x)&0xFF) 
Note: See TracChangeset for help on using the changeset viewer.