4cffc3eb6f43e109452b5b52d1f760cf1ea6a981
jcasper
  Sun Jun 7 21:47:37 2026 -0700
Adjusting sessionDb and userDb IDs to be 64-bit in the code, since the database
is now ready for it and we're crossing the threshold.  refs #33554

diff --git src/hg/inc/cart.h src/hg/inc/cart.h
index 733a43e2603..368f5ea09a6 100644
--- src/hg/inc/cart.h
+++ src/hg/inc/cart.h
@@ -94,34 +94,34 @@
 
 void cartSaveState(struct cart *cart);
 /* Free up cart and save it to database.
  * Intended for updating cart before background CGI runs.
  * Use cartCheckout() instead. */
 
 void cartEncodeState(struct cart *cart, struct dyString *dy);
 /* Add a CGI-encoded var=val&... string of all cart variables to dy. */
 
 char *cartSessionVarName();
 /* Return name of CGI session ID variable. */
 
 char *cartSessionId(struct cart *cart);
 /* Return session id. */
 
-unsigned cartSessionRawId(struct cart *cart);
+unsigned long cartSessionRawId(struct cart *cart);
 /* Return raw session id without security key. */
 
-unsigned cartUserRawId(struct cart *cart);
+unsigned long cartUserRawId(struct cart *cart);
 /* Return raw user id without security key. */
 
 char *cartSidUrlString(struct cart *cart);
 /* Return session id string as in hgsid=N . */
 
 char *cartUserId(struct cart *cart);
 /* Return session id. */
 
 void cartRemove(struct cart *cart, char *var);
 /* Remove variable from cart. */
 
 void cartRemoveExcept(struct cart *cart, char **except);
 /* Remove variables except those in null terminated except array
  * from cart.  Except array may be NULL in which case all
  * are removed. */