Fossil SCM
Better fix for the repolist.c change.
Commit
54efe3aa569a2421958f9bf848af6cbaec6f7695eeb6db090fbff047952ecb1d
Parent
b7471a4beebd069…
1 file changed
+1
-1
+1
-1
| --- src/repolist.c | ||
| +++ src/repolist.c | ||
| @@ -210,11 +210,11 @@ | ||
| 210 | 210 | if( rNow <= x.rMTime ){ |
| 211 | 211 | x.rMTime = rNow; |
| 212 | 212 | }else if( x.rMTime<0.0 ){ |
| 213 | 213 | x.rMTime = rNow; |
| 214 | 214 | } |
| 215 | - iAge = (sqlite3_int64)(rNow - x.rMTime)*86400; | |
| 215 | + iAge = (sqlite3_int64)((rNow - x.rMTime)*86400); | |
| 216 | 216 | zAge = human_readable_age(rNow - x.rMTime); |
| 217 | 217 | if( x.rMTime==0.0 ){ |
| 218 | 218 | /* This repository has no entry in the "event" table. |
| 219 | 219 | ** Its age will still be maximum, so data-sortkey will work. */ |
| 220 | 220 | zAge = mprintf("unknown"); |
| 221 | 221 |
| --- src/repolist.c | |
| +++ src/repolist.c | |
| @@ -210,11 +210,11 @@ | |
| 210 | if( rNow <= x.rMTime ){ |
| 211 | x.rMTime = rNow; |
| 212 | }else if( x.rMTime<0.0 ){ |
| 213 | x.rMTime = rNow; |
| 214 | } |
| 215 | iAge = (sqlite3_int64)(rNow - x.rMTime)*86400; |
| 216 | zAge = human_readable_age(rNow - x.rMTime); |
| 217 | if( x.rMTime==0.0 ){ |
| 218 | /* This repository has no entry in the "event" table. |
| 219 | ** Its age will still be maximum, so data-sortkey will work. */ |
| 220 | zAge = mprintf("unknown"); |
| 221 |
| --- src/repolist.c | |
| +++ src/repolist.c | |
| @@ -210,11 +210,11 @@ | |
| 210 | if( rNow <= x.rMTime ){ |
| 211 | x.rMTime = rNow; |
| 212 | }else if( x.rMTime<0.0 ){ |
| 213 | x.rMTime = rNow; |
| 214 | } |
| 215 | iAge = (sqlite3_int64)((rNow - x.rMTime)*86400); |
| 216 | zAge = human_readable_age(rNow - x.rMTime); |
| 217 | if( x.rMTime==0.0 ){ |
| 218 | /* This repository has no entry in the "event" table. |
| 219 | ** Its age will still be maximum, so data-sortkey will work. */ |
| 220 | zAge = mprintf("unknown"); |
| 221 |