Skip to content

Commit

Permalink
db_perlvdb: Cast time_t
Browse files Browse the repository at this point in the history
CID #417612
  • Loading branch information
oanatitoc committed Sep 24, 2024
1 parent 29c8f4f commit 5d85ddf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/db_perlvdb/perlvdb_conv.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ static inline SV *valdata(db_val_t* val) {
break;

case DB_DATETIME:
data = newSViv((unsigned int)VAL_TIME(val));
data = newSViv((unsigned int)(unsigned long)VAL_TIME(val));
break;

case DB_BLOB:
Expand Down

0 comments on commit 5d85ddf

Please sign in to comment.