Diff

Differences From Artifact [6216c87bde]:

To Artifact [293b50199a]:


   496    496    * Generate an inode for a given path.  The inode should be computed in such
   497    497    * a way that it is unlikely to be duplicated and remains the same for a given
   498    498    * file
   499    499    */
   500    500   #if UINT_MAX < 4294967295
   501    501   #error Integer size is too small 
   502    502   #endif
   503         -static long long appfs_get_path_inode(const char *path) {
          503  +static unsigned long long appfs_get_path_inode(const char *path) {
   504    504   	int retval;
   505    505   	const char *p;
   506    506   
   507    507   	retval = 10;
   508    508   
   509    509   	for (p = path; *p; p++) {
   510         -		retval %= 4290960290ULL;
   511    510   		retval += *p;
   512    511   		retval <<= 6;
   513    512   	}
   514    513   
   515    514   	retval += 10;
   516    515   	retval %= 4294967286ULL;
   517    516   	retval += 10;