X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.0%2Fguicast%2Fbchash.C;h=a334658a8cdd03ee1258d87e1fd33c6e5830a5a8;hb=3c8ddbb0c9c24084b516e15cdf3e7271e81ae13c;hp=180c70de7897c8c9074845fd5ec96f4886270eac;hpb=a3a59f63fdfbcf94c561595f515951fdfd4bea30;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.0/guicast/bchash.C b/cinelerra-5.0/guicast/bchash.C index 180c70de..a334658a 100644 --- a/cinelerra-5.0/guicast/bchash.C +++ b/cinelerra-5.0/guicast/bchash.C @@ -210,7 +210,7 @@ int64_t BC_Hash::get(const char *name, int64_t default_) { if(!strcmp(names[i], name)) { - sscanf(values[i], _LD, &result); + sscanf(values[i], "%jd", &result); return result; } } @@ -278,7 +278,7 @@ int BC_Hash::update(const char *name, int32_t value) // update a value if it exi int BC_Hash::update(const char *name, int64_t value) // update a value if it exists { char string[BCSTRLEN]; - sprintf(string, _LD, value); + sprintf(string, "%jd", value); return update(name, string); }