Changeset 2057 for trunk


Ignore:
Timestamp:
Nov 2, 2012, 1:14:06 PM (7 years ago)
Author:
sam
Message:

build: fix minor build issues with Clang.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lol/math/vector.h

    r2056 r2057  
    12041204    \
    12051205    tprefix \
    1206     inline double length(tname<type> const &a) \
    1207     { \
    1208         return sqrt((double)sqlength(a)); \
     1206    inline type length(tname<type> const &a) \
     1207    { \
     1208        return (type)sqrt((double)sqlength(a)); \
    12091209    } \
    12101210    \
  • trunk/tools/neercs/old/ansi.c

    r1656 r2057  
    122122                              struct screen_list *screen_list,
    123123                              struct screen *sc);
    124 inline int handle_duplet(unsigned char const *buffer, struct screen *sc,
     124static inline int handle_duplet(unsigned char const *buffer, struct screen *sc,
    125125                         unsigned int *skip, int top, int bottom, int width,
    126126                         int height);
     
    185185}
    186186
    187 inline int handle_duplet(unsigned char const *buffer, struct screen *sc,
     187static inline int handle_duplet(unsigned char const *buffer, struct screen *sc,
    188188                         unsigned int *skip, int top, int bottom, int width,
    189189                         int height)
Note: See TracChangeset for help on using the changeset viewer.