summaryrefslogtreecommitdiff
path: root/src/list.h
diff options
context:
space:
mode:
authordrouin2004-09-01 15:54:51 +0000
committerdrouin2004-09-01 15:54:51 +0000
commit12751e3fc02e45da1198b82dadf83fe861ebfd1e (patch)
treea56a2fdb4d4640dc29b5e3d080265d4d164f6b5d /src/list.h
parentd95d579469c04a581fd5559e96d28b88293613c3 (diff)
downloadivy-c-12751e3fc02e45da1198b82dadf83fe861ebfd1e.zip
ivy-c-12751e3fc02e45da1198b82dadf83fe861ebfd1e.tar.gz
ivy-c-12751e3fc02e45da1198b82dadf83fe861ebfd1e.tar.bz2
ivy-c-12751e3fc02e45da1198b82dadf83fe861ebfd1e.tar.xz
replaced the gtk mainloop with a glib one. added -Wall compile directive . fixed some warnings
Diffstat (limited to 'src/list.h')
-rw-r--r--src/list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/list.h b/src/list.h
index 78eb07e..472d2fc 100644
--- a/src/list.h
+++ b/src/list.h
@@ -52,7 +52,7 @@
}
#define IVY_LIST_ADD(list, p ) \
- if ( p = (TYPEOF(p)) (malloc( sizeof( *p ))))\
+ if ((p = (TYPEOF(p)) (malloc( sizeof( *p ))))) \
{ \
memset( p, 0 , sizeof( *p ));\
p->next = list; \