libresman

diff src/rbtree.c @ 23:f8e5a1491275

win32 file change notification attempt1 (failed)
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 13 Feb 2014 13:17:07 +0200
parents fe0dbdfbe403
children
line diff
     1.1 --- a/src/rbtree.c	Wed Feb 12 22:32:30 2014 +0200
     1.2 +++ b/src/rbtree.c	Thu Feb 13 13:17:07 2014 +0200
     1.3 @@ -1,6 +1,8 @@
     1.4  #include <stdio.h>
     1.5  #include <stdlib.h>
     1.6 +#ifndef _MSC_VER
     1.7  #include <stdint.h>
     1.8 +#endif
     1.9  #include <string.h>
    1.10  #include "rbtree.h"
    1.11  
    1.12 @@ -414,7 +416,7 @@
    1.13  
    1.14  static struct rbnode *find_min(struct rbnode *tree)
    1.15  {
    1.16 -	struct rbnode *node;
    1.17 +	struct rbnode *node = tree;
    1.18  
    1.19  	if(!tree)
    1.20  		return 0;