Don't use functions from the guile "discouraged" header. Signed-off-by: Linas Vepstas --- src/guile-dbd-postgresql.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: guile-dbd-postgresql-2.0.0/src/guile-dbd-postgresql.c =================================================================== --- guile-dbd-postgresql-2.0.0.orig/src/guile-dbd-postgresql.c 2008-09-15 10:45:02.000000000 -0500 +++ guile-dbd-postgresql-2.0.0/src/guile-dbd-postgresql.c 2008-09-15 13:24:54.000000000 -0500 @@ -316,7 +316,7 @@ __postgresql_getrow_g_db_handle(gdbi_db_ { value_str = (char*) strndup(PQgetvalue(pgsqlP->res,pgsqlP->lget,f), PQgetlength(pgsqlP->res,pgsqlP->lget,f)); - value = scm_int2num(atoi(value_str)); + value = scm_from_long(atoi(value_str)); } else if (type == 700 || type == 701 )