WebWatch: some 64 bit fixes
This commit is contained in:
@@ -97,7 +97,7 @@ void WatchView::Draw(BRect updateRect)
|
||||
super::Draw(updateRect);
|
||||
|
||||
char string[5];
|
||||
sprintf(string, "@%03ld", GetInternetTime());
|
||||
sprintf(string, "@%03" B_PRId32, GetInternetTime());
|
||||
|
||||
font_height height; // center the text horizontally
|
||||
GetFontHeight(&height); // and vertically in the Deskbar
|
||||
|
||||
Reference in New Issue
Block a user