[libgda] gda_timestamp_set_fraction(): Correct param type.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] gda_timestamp_set_fraction(): Correct param type.
- Date: Fri, 3 Nov 2017 18:44:53 +0000 (UTC)
commit 4ec152c57259f58803e405abd24af7b417d54a1b
Author: Murray Cumming <murrayc murrayc com>
Date: Mon Oct 30 21:19:57 2017 +0100
gda_timestamp_set_fraction(): Correct param type.
To match gda_timestamp_get_fraction() and the fraction parameter of
gda_timestamp_new_from_values().
libgda/gda-value.c | 2 +-
libgda/gda-value.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgda/gda-value.c b/libgda/gda-value.c
index 3aed672..c012d54 100644
--- a/libgda/gda-value.c
+++ b/libgda/gda-value.c
@@ -2110,7 +2110,7 @@ gda_timestamp_get_fraction (const GdaTimestamp* timestamp)
return timestamp->fraction;
}
void
-gda_timestamp_set_fraction (GdaTimestamp* timestamp, glong fraction)
+gda_timestamp_set_fraction (GdaTimestamp* timestamp, gulong fraction)
{
g_return_if_fail (timestamp != NULL);
timestamp->fraction = fraction;
diff --git a/libgda/gda-value.h b/libgda/gda-value.h
index 17f3bf4..504e460 100644
--- a/libgda/gda-value.h
+++ b/libgda/gda-value.h
@@ -280,7 +280,7 @@ void gda_timestamp_set_minute (GdaTimestamp* timest
gushort gda_timestamp_get_second (const GdaTimestamp* timestamp);
void gda_timestamp_set_second (GdaTimestamp* timestamp, gushort second);
gulong gda_timestamp_get_fraction (const GdaTimestamp* timestamp);
-void gda_timestamp_set_fraction (GdaTimestamp* timestamp, glong fraction);
+void gda_timestamp_set_fraction (GdaTimestamp* timestamp, gulong fraction);
glong gda_timestamp_get_timezone (const GdaTimestamp* timestamp);
void gda_timestamp_set_timezone (GdaTimestamp* timestamp, glong timezone);
GdaTimestamp *gda_timestamp_copy (GdaTimestamp *ts);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]