Show
Ignore:
Timestamp:
02/06/09 22:22:32 (9 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1233958952 +0000
git-parent:

[0d31467a1c681159c9f9682ea66c08e7b2392641]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1233958952 +0000
Message:

refs #78, cleanup

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/noit_defines.h

    r84d6f13 rdbaf64b  
    7474#define HAVE_IPv6 
    7575 
     76#include <stdio.h> 
     77 
    7678static inline int noit_build_version(char *buff, int len) { 
    7779  const char *v = NOIT_HEADURL; 
     
    8587        return snprintf(buff, len, "trunk.%s", NOIT_SVNVERSION); 
    8688      if(!strncmp(start, "branches/", 9)) 
    87         return snprintf(buff, len, "b_%.*s.%s", end - ns, ns, NOIT_SVNVERSION); 
     89        return snprintf(buff, len, "b_%.*s.%s", (int)(end - ns), ns, NOIT_SVNVERSION); 
    8890      if(!strncmp(start, "tags/", 5)) 
    89         return snprintf(buff, len, "%.*s.%s", end - ns, ns, NOIT_SVNVERSION); 
     91        return snprintf(buff, len, "%.*s.%s", (int)(end - ns), ns, NOIT_SVNVERSION); 
    9092    } 
    9193  }