{
g_return_val_if_fail(Time!=NULL,GNOME_VFS_ERROR_BAD_PARAMETERS);
g_return_val_if_fail(timespec!=NULL,GNOME_VFS_ERROR_BAD_PARAMETERS);
- g_return_val_if_fail(timespec->tv_nsec<0,GNOME_VFS_ERROR_BAD_PARAMETERS);
- g_return_val_if_fail(timespec->tv_nsec>1000000000,GNOME_VFS_ERROR_BAD_PARAMETERS);
+ g_return_val_if_fail(timespec->tv_nsec>=0,GNOME_VFS_ERROR_BAD_PARAMETERS);
+ g_return_val_if_fail(timespec->tv_nsec<1000000000,GNOME_VFS_ERROR_BAD_PARAMETERS);
RtlSecondsSince1970ToTime(timespec->tv_sec,Time);
/* Some problem with the remainer? */
#if TICKSTO1970%TICKSPERSEC
-#error "Unsupported: TICKSTO1970
+#error "Unsupported: TICKSTO1970"
#endif
#if TICKSPERSEC<1000000000 && !(1000000000%TICKSPERSEC)