Fixed compilation error on some GCCes: missing terminating " character
[captive.git] / src / libcaptive / rtl / time.c
index 0e7d0d8..75aa55f 100644 (file)
@@ -44,8 +44,8 @@ GnomeVFSResult timespec_to_Time(PLARGE_INTEGER Time,const struct timespec *times
 {
        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);
 
@@ -87,7 +87,7 @@ BOOLEAN errBOOLEAN;
 
        /* Some problem with the remainer? */
 #if TICKSTO1970%TICKSPERSEC
-#error "Unsupported: TICKSTO1970
+#error "Unsupported: TICKSTO1970"
 #endif
 
 #if TICKSPERSEC<1000000000 && !(1000000000%TICKSPERSEC)